[R] image NAs error

From: Christoph Lehmann <christoph.lehmann_at_gmx.ch>
Date: Mon 12 Jul 2004 - 21:08:35 EST


tmp.vimp <- matrix(NA, nrow = x.dim, ncol = y.dim) tmp.vimp <- image(tmp.vimp, col=rainbow)

gives:

Error in image.default(tmp.vimp, col = rainbow) :

         invalid z limits
In addition: Warning messages:
1: no finite arguments to min; returning Inf 2: no finite arguments to max; returning -Inf

even though NAs are allowed in image

what went wrong here?

thank you

Christoph



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 12 21:22:07 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:35:35 EST