I want to create an RGB image from three 2D matrices in R. I know that there was a similar post for matlab, however I could not translate that problem to the R world.
I tried already different packages such as abind for creating a 3D array, tried to turn it into a JPEG with writeJPEG. but that did not work-
any help is very much appreciated!
Try with
?rgb,