[R] image question
Duncan Murdoch
murdoch at stats.uwo.ca
Wed Jan 23 23:51:09 CET 2008
On 23/01/2008 4:36 PM, Ajar wrote:
> Hi,
>
> I have a question regarding the image function. Is there a way to
> specify a separate color set for each column in the matrix?
No, but the crucial part of source of image() the R code in
image.default, and you could edit that. zi is a local variable that
holds indices into the colour vector; if you modified it just before the
call to .Internal, you could do pretty much anything you liked.
Duncan Murdoch
More information about the R-help
mailing list