dot-cdi_vals: Utils function to calculate the values to be used in the CDI

.cdi_valsR Documentation

Utils function to calculate the values to be used in the CDI

Description

Utils function to calculate the values to be used in the CDI

Usage

.cdi_vals(zSPI, zSM, zfAPAR)

Arguments

zSPI

'SpatRaster' object that contains the zSPI data that will be used to calculate the CDI 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.

zSM

'SpatRaster' object that contains the zSM data that will be used to calculate the CDI 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.

zfAPAR

'SpatRaster' object that contains the zSfAPAR data that will be used to calculate the CDI 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.

Value

Return the 3-digit values to compute the CDI.


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