[R] questions about image()

Liaw, Andy andy_liaw at merck.com
Thu Feb 3 16:56:18 CET 2000


Hi all,

I have a few questions on color image in R (I'm using 0.90.1 on NT4).

1.  How do I get a color key on the plot?
2.  What I'd like to have is 0=white, 1=red, -1=blue (or any other color),
and numbers in between represented by different shade (e.g., 0.1 would be
light pink, -0.1 would be light blue, etc.).  Is this possible?

Thanks for any help any of you can provide.

Regards,

Andy Liaw
Merck Biometrics Research
Phone: (732) 594-0820
Fax: (732) 594-1565
mailto:andy_liaw at merck.com

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