Re: [R] vectors levels are carried through to subsets...

2009-09-29 Thread Barry Rowlingson
On Tue, Sep 29, 2009 at 6:47 PM, chipmaney wrote: > > I have a dataset.  Initially, it has 25 levels for a certain factor, > Description. > > However, I then subset it, because I am only interested in 2 of the 25 > factors.  When I subset it, I get the following. The vector lists only the > two fa

[R] vectors levels are carried through to subsets...

2009-09-29 Thread chipmaney
I have a dataset. Initially, it has 25 levels for a certain factor, Description. However, I then subset it, because I am only interested in 2 of the 25 factors. When I subset it, I get the following. The vector lists only the two factors, yet there remain 25 levels: > Quadrats.df$Description