[R] NA=NA

Mark Myatt mark at myatt.demon.co.uk
Mon Jul 1 15:50:05 CEST 2002


Remigijus Lapinskas <remigijus.lapinskas at maf.vu.lt> writes:
>Hello R-help,
>
>My vector aa has some NA's:
>
>> aa_c(NA,1)
>> aa=="NA"
>[1]    NA FALSE
>> aa==NA
>[1]   NA   NA
>
>How can I detect NA's?
>In other words, I would like my answer to be TRUE  FALSE.

Is,na()


--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list