View source: R/Agricultural_drought.R
spatial_vci | R Documentation |
Vegetation Condition Index (VCI; Kogan 1995)
spatial_vci(NDVI_data, per_period = TRUE)
NDVI_data |
'SpatRaster' object that contains spatially-distributed NDVI data that will be used to calculate the VCI. This 'SpatRaster' must include the time that corresponds to the dates of the respective layers. They can be set with the function time of the terra package. @param per_period Should the results be calculated considering each period separately? Set to TRUE. |
Spatially-distributed VCI values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.