[R] image function

Jane Fridlyand janef at stat.berkeley.edu
Thu Nov 1 03:43:40 CET 2001


Hi,

I am trying  to use image() function in R and  for the set  of the
x-locations I am providing, it keeps giving me an error:

Error in image(as.double(x), as.double(y), as.integer(zi), col) :
        invalid x / y values or limits

I have looked over the cases  which inclusion causes the message  but
could not identify the problem. I did notice that it does not l accept
non-unique x-values (the  other message was about ascending order ) and
removed those. I know that the error is due to "x-values" since when i
supply arbitrary equally spaces locations, the function works fine.

Any ideas what the error message i get may refer to?

Thank you!
Jane

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