[R] Remove levels
alain.guillet at uclouvain.be
Thu Jun 13 16:02:58 CEST 2013
Without more information I guess your problem is that the level name
still exists in the factor whereas it doesn't appear anymore in the
factor. If so, try droplevels.
On 13/06/13 14:02, Shane Carey wrote:
> I have a dataframe consisting of factors in one column. Im trying to remove
> certain levels using the following code:
> However it will not remove the level "lake"
> In the past this worked for me, but its not working now. Any help
Statistician and Computer Scientist
SMCS - IMMAQ - Université catholique de Louvain
Voie du Roman Pays, 20 (bte L1.04.01)
tel: +32 10 47 30 50
More information about the R-help