[R] Subset: data frames and factor levels
singularitaet at gmx.net
Tue Apr 1 10:10:40 CEST 2008
On Tuesday 01 April 2008 09:43:00 am Agustin Lobo wrote:
AL> I'm doing:
AL> etni <- subset(etni, NAMECOM!="Maniquisito")
AL> where etni is a data.frame, NAMECOM a factor and "Maniquisito" labels
AL> a row that I want to delete.
AL> The problem is that while the row is deleted, the factor level is still
AL> there (I can see "Maniquisito" if I do levels(etni$NAMECOM) ).
University of Erfurt
More information about the R-help