.spi_bool | R Documentation |
Utils function to calculate the boolean layers to calculate the zSPI
.spi_bool(SPI_data, threshold)
SPI_data |
'SpatRaster' object that contains the SPI data that will be used to calculate the zSPI. 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. |
threshold |
Threshold to construct the Boolean layers. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.