Skip to content
Prev 2139 / 63424 Next

matrix() can't handle NaN (PR#193)

Perhaps this should be in a FAQ list ...
x y  z
1 1 1  1
2 1 2  2
3 2 1 NA
4 2 2  4
[,1] [,2]
[1,]    1   NA
[2,]    2    4

  "NaN" (Not a Number) as seen in debuggers, etc., is not the same as "NA"
as a "not available/applicable" value in R.
On Tue, 11 May 1999, Bill Simpson wrote:

            
Benjamin Bolker          Dep't of Ecology and Evolutionary Biology,
ben@eno.princeton.edu    Princeton University
tel: (609) 258-6886,     fax: (609) 258-1334

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._