View source: R/Agricultural_drought.R
spatial_vhi | R Documentation |
Vegetation Health Index (VHI; Kogan 1995)
spatial_vhi(VCI_data, TCI_data, alpha = 0.5, resampling2low = TRUE)
VCI_data |
'SpatRaster' object that contains spatially-distributed VCI data that will be used to calculate the VHI. 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. |
TCI_data |
'SpatRaster' object that contains spatially-distributed TCI data that will be used to calculate the VHI. 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 alpha empirical weight that is applied to the VCI (set to 0.5). Please note that the weight of TCI is 1 - alpha. |
Spatially-distributed VHI values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.