Description Usage Arguments Value
This is a helper function to scales values of a raster to the same range of normalized difference indexes (NDVI, EVI, ecc). "Normalizing" rasters may be useful to enable an optimal confrontation of Rao'index values resulting from get_rao_index function among heterogenous rasters.
1 | scale_to_nd(raster_stack, scale = TRUE)
|
raster_stack |
a Raster* object (RasterLayer, RasterStack, RasterBrick) |
scale |
a boolean indicating whether to scale values to [-1, 1] on top of centering on 0, or not. |
a Raster* object scaled to [-1, 1] values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.