Original Message-
> From: Joshua Wiley [mailto:jwiley.ps...@gmail.com]
> Sent: 18 October 2010 07:47
> To: Santosh Srinivas
> Cc: r-help@r-project.org
> Subject: Re: [R] Basic structure operations doubt
>
> Hi,
>
> The easiest way to get rid of the empty levels is with droplevels
Wiley [mailto:jwiley.ps...@gmail.com]
Sent: 18 October 2010 07:47
To: Santosh Srinivas
Cc: r-help@r-project.org
Subject: Re: [R] Basic structure operations doubt
Hi,
The easiest way to get rid of the empty levels is with droplevels().
See ?droplevels for details. It actually has a method for data frames
Hi,
The easiest way to get rid of the empty levels is with droplevels().
See ?droplevels for details. It actually has a method for data frames
even. So you could just do something like:
Indx_Constituents <- droplevels(Indx_Constituents)
or whatever your data frame was called and it will drop a
I'm doing these manipulations on the data frame and wondering why does R
have to remember historical data on my operation and not just keep the
needed info.
Probably a basic fundamentals of the way R handles data .. Pls point me to
the manual if possible ..
I have this Index data:
> head(NIFTY_IND
4 matches
Mail list logo