
Last chance! 50% off unlimited learning
Sale ends in
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
Raster object
additional arguments, none implemented
r <- raster(system.file("external/test.grd", package="raster"))
r
r <- setMinMax(r)
r
Run the code above in your browser using DataLab