[R] is.numeric()

kjetil halvorsen kjetilh at umsanet.edu.bo
Mon Aug 13 19:50:21 CEST 2001


Hola!

Is the following correct behaviour?

> is.numeric(NA)
[1] FALSE
> is.numeric(c(NA))
[1] FALSE
> is.numeric(c(1,2,3,NA))
[1] TRUE

This is R1.3.0, windows.

Kjetil.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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