[R] removed data is still there!

David Winsemius dwinsemius at comcast.net
Tue Sep 21 15:14:41 CEST 2010


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



More information about the R-help mailing list