Description Usage Arguments Value Examples
View source: R/raster_rescale.R
Rescale a raster values in the range from 0 to 1 using min-max normalization.
1 |
x |
A RasterLayer object |
RasterLayer
1 2 3 | r <- raster::raster(system.file("extdata/elev_12_5m.tif", package="runout.opt"))
r_minmax <- rasterMinMaxRescale(r)
raster::plot(r_minmax)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.