On Sep 21, 2010, at 9:04 AM, David Winsemius wrote:
On Sep 21, 2010, at 8:39 AM, pdb wrote:
Thanks, but that was what I just discovered myself the hard way.
What I really wanted to know was how to solve this issue.
Although that was _not_ what you requested in your first post.
2 options:
?table
?factor
iris1$Species <-factor(iris$Species) # removes "extraneous" levels
And that was not what I meant to type. Meant for factor to be applied
to second dataframe.:
iris1$Species <-factor(iris1$Species) # removes "extraneous" levels
--
David Winsemius, MD
West Hartford, CT
______________________________________________
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.