powered by
The minimum and maximum value of a RasterLayer are computed (from a file on disk if necessary) and stored in the returned Raster* object.
setMinMax(x, ...)
Raster object
additional arguments, none implemented
getValues
r <- raster(system.file("external/test.grd", package="raster")) r r <- setMinMax(r) r
Run the code above in your browser using DataLab