spatial_vhi: Vegetation Health Index (VHI; Kogan 1995)

View source: R/Agricultural_drought.R

spatial_vhiR Documentation

Vegetation Health Index (VHI; Kogan 1995)

Description

Vegetation Health Index (VHI; Kogan 1995)

Usage

spatial_vhi(VCI_data, TCI_data, alpha = 0.5, resampling2low = TRUE)

Arguments

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.

Value

Spatially-distributed VHI values.


obaezvil/SpatIndex documentation built on Aug. 9, 2024, 3:42 p.m.