Re: [R] to NA

2014-03-31 Thread Bert Gunter
> x <- factor(c("whoops","NA",NA,"B")) > x [1] whoops NAB Levels: B NA whoops > is.na(x) [1] FALSE FALSE TRUE FALSE If this doesn't explain it for you, then read about missing values and factors in "An Introduction to R." -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467

Re: [R] to NA

2014-03-31 Thread Marc Schwartz
On Mar 31, 2014, at 1:29 PM, eliza botto wrote: > Dear useRs, > Sorry for such a ridiculous question but i really need to know that what is > the difference between and NA and how to convert to NA. > Thankyou very much in advance > Eliza is the printed output th

[R] to NA

2014-03-31 Thread eliza botto
Dear useRs, Sorry for such a ridiculous question but i really need to know that what is the difference between and NA and how to convert to NA. Thankyou very much in advance Eliza [[alternative HTML version deleted]] _