powered by
stretch(x, minv=0, maxv=255, minq=0, maxq=1, filename='', ...)
writeRaster
plotRGB
r <- raster(nc=10, nr=10) r[] <- 1:100 * 10 stretch(r) s <- stack(r, r*2) stretch(s)
Run the code above in your browser using DataLab