View source: R/SPI_SPEI_at_specific_day.R
daily_spi | R Documentation |
Standardised precipitation index calculated for a specific day.
daily_spi(params_list, P_lyr)
params_list |
A list object that contains a 'SpatRaster' of 365 layers for each parameter of the selected distribution. |
P_lyr |
'SpatRaster' object that contains spatially-distributed monthly data for a specific date (e.g., " This object contains the daily accumulated values of a specific day according to the scale provided. This object can be computed with the 'spi_agregate_daily' function. This 'SpatRaster' must only contain the days that corresponds to the specific selection. |
This function returns one layer of SPI-n according to a selected day. The input object 'Prod_data' has to be created before, which can be achieved with the 'spi.agregate_daily' function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.