.spei_daily.sci | R Documentation |
Utils function to compute the SPI or SPEI using a vector. This function is based on the code presented in the SCI package
.spei_daily.sci(params_matrix, P_matrix, pze_matrix, trgt, distribution, dates)
params_matrix |
matrix obtained from the parameters list |
P_matrix |
matrix of the required P layer |
pze_matrix |
matrix of the probability of zero layer |
trgt |
The day for which the function will be computed. The default is NULL, indicating that the last day of the data will be selected. |
distribution |
Character value indicating the name of the distribution function to be used for computing the SPI (one of 'log-Logistic', 'Gamma' and 'PearsonIII'). Defaults to 'log-Logistic' for SPEI. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.