Declare the layers to be used as Red, Green and Blue when plotting a SpatRaster. Currently, the sole benefit of this is that plot will send the object to plotRGB
Usage
# S4 method for SpatRaster
RGB(x)<-value
Arguments
x
SpatRaster
value
positive integers indicating the layers that are red, green and blue. Or NULL to remove the RGB settings