Erik Iverson ha scritto:
This really has nothing to do with the "row names" issue you mention, as far as I can tell. It has to do with this:
http://stackoverflow.com/questions/1195826/dropping-factor-levels-in-a-subsetted-data-frame-in-r
Best,
Erik Iverson
Perhaps you may also take a look at this
http://wiki.r-project.org/rwiki/doku.php?id=tips:data-manip:drop_unused_levels
df.mydata$problemFactor <- df.mydata$problemFactor[, drop = TRUE]
8rino
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.