Description Usage Arguments Details Value Author(s) Examples
spi
computes the spi index using gamlss
models.
It can also with work with precipitation series containing NA, 0 or
only non-zero values.
1 |
y |
Usually rainfall from which to compute the SPI, but other variables like precipitation can also be used. |
time |
Time indexed to the values of the argument |
tscale |
Time-scale to compute the SPI in time units. This argument is used to perform a moving average to the rainfall series before computing the SPI. |
period |
Numeric value representing the period to define seasonality. For
example, 53 weeks, 12 months, 365 days. As it can be seen, it depends of the units
of the argument |
details.
A dataframe consisting of y
, time
, season
, mu
,
sigma
, pzero
, ecdf
and spi
.
Erick A. Chacon-Montalvan
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.