Description Usage Arguments Value Examples
Calculate Standardized Precipitation Index, SPI
1 | SPI.calc(prec.zoo, sc = 24, method = "mle")
|
prec.zoo |
A zoo series contain date and rainfall vector/matrix. |
sc |
The accumulation period in months. Commonly 6, 12, 24, 36, and 48 months. |
method |
A character string coding for the fitting method: "mle" for 'maximum likelihood estimation', "mme" for 'moment matching estimation', "qme" for 'quantile matching estimation' and "mge" for 'maximum goodness-of-fit estimation'. |
A matrix of time sereis.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.