Re: [R] incorrect number of levels

2010-10-08 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Chagaris, Dave > Sent: Friday, October 08, 2010 12:04 PM > To: r-help@r-project.org > Subject: [R] incorrect number of levels > > I have a data set

Re: [R] incorrect number of levels

2010-10-08 Thread David Winsemius
On Oct 8, 2010, at 4:37 PM, David Winsemius wrote: On Oct 8, 2010, at 3:04 PM, Chagaris, Dave wrote: I have a data set 382 rows and 63 columns. One of the columns is bay, and there are 6 bays. But, the number of levels for this factor is 7 when it should be six because there is some 'b

Re: [R] incorrect number of levels

2010-10-08 Thread David Winsemius
On Oct 8, 2010, at 3:04 PM, Chagaris, Dave wrote: I have a data set 382 rows and 63 columns. One of the columns is bay, and there are 6 bays. But, the number of levels for this factor is 7 when it should be six because there is some 'blank' level "". When I subset for the blank level "

[R] incorrect number of levels

2010-10-08 Thread Chagaris, Dave
I have a data set 382 rows and 63 columns. One of the columns is bay, and there are 6 bays. But, the number of levels for this factor is 7 when it should be six because there is some 'blank' level "". When I subset for the blank level "", I get 0 rows. What in my data could be causing this?