> 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
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
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]]
_
3 matches
Mail list logo