[R] using image to show RGB image data ?

B. Bogart bbogart at sfu.ca
Tue Feb 5 02:13:51 CET 2008


Hello all,

I'm now using image() to show image data (in my case dumps of SOM
weights) but would like to show RGB colour data, not just single "z"
colour values.

I've currently been using seq() to skip 4 values, so I can show the R, G
or B channels separately as "z". But is there a way I can show all three
channels simultaneously as a proper colour image?

Thanks,
B. Bogart



More information about the R-help mailing list