Re: [R] R not recognizing words

2012-01-06 Thread arabarkev
There was a trailing white space! Now I feel not so smart Thanks a lot for your help! -- View this message in context: http://r.789695.n4.nabble.com/R-not-recognizing-words-tp4268283p4269326.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] R not recognizing words

2012-01-06 Thread Nutter, Benjamin
.@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of arabarkev Sent: Friday, January 06, 2012 12:20 AM To: r-help@r-project.org Subject: [R] R not recognizing words Hello all I'm new to R and am experiencing a problem with a categorical variable. All the data of this variable are

Re: [R] R not recognizing words

2012-01-06 Thread peter dalgaard
On Jan 6, 2012, at 06:20 , arabarkev wrote: > Hello all > > I'm new to R and am experiencing a problem with a categorical variable. All > the data of this variable are "Low", "High", or NA. When I put > summary(x$y), it gives me the number of High, Low, and NA entries. However, > when I try t

[R] R not recognizing words

2012-01-05 Thread arabarkev
Hello all I'm new to R and am experiencing a problem with a categorical variable. All the data of this variable are "Low", "High", or NA. When I put summary(x$y), it gives me the number of High, Low, and NA entries. However, when I try to subset by writing x$y=="Low" or x$y=="High", R does