Description Usage Arguments Value Author(s) See Also Examples
Calculates the Standardized Precipitation Index (SPI) per year on a daily or monthly precipitation serie.
1 | spi.per.year(object, period = 3, distribution = "Gamma", FUN = mean)
|
object |
a daily or monthly precipitation serie. |
period |
the number of months to be aggregate in the calculation of the standardized precipitation index. (Default value: 3) |
distribution |
(it has no effect yet). |
FUN |
the function used to summarize the standardized precipitation index per year. (Default function: mean). |
A data.frame (precintcon.spi.per.year) containing the following variables:
year
is the year.
spi
is the standardized precipitation index.
Lucas Venezian Povoa lucasvenez@gmail.com
1 2 3 4 5 6 7 | ##
# Loading the monthly precipitation serie.
data(monthly)
##
# Performing the Standardized Precipitation Index
spi.per.year(monthly, period = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.