spi: Standardized Precipitation Index

Description Usage Arguments Value Author(s) See Also Examples

View source: R/spi.r

Description

Calculates the Standardized Precipitation Index (SPI) on a daily or monthly precipitation serie.

Usage

1
spi(object, period = 3, distribution = "Gamma")

Arguments

object

a daily or monthly precipitation serie.

period

the number of months to be aggregated in the calculation of the standardized precipitation index. (Default value: 3)

distribution

it has no effect yet. (Default value: "Gamma")

Value

A data.frame (precintcon.spi) containing the following variables:

Author(s)

Lucas Venezian Povoa lucasvenez@gmail.com

See Also

precintcon.plot.spi read.data

Examples

1
2
3
4
5
6
7
##
# Loading the monthly precipitation serie.
data(monthly)

##
# Performing the Standardized Precipitation Index
spi(monthly, period = 3)

lucasvenez/precintcon documentation built on May 21, 2019, 8:53 a.m.