.cdi_vals | R Documentation |
Utils function to calculate the values to be used in the CDI
.cdi_vals(zSPI, zSM, zfAPAR)
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. |
Return the 3-digit values to compute the CDI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.