spi: Calculates the Standardized Precipitation Index (SPI)

Description Usage Arguments Value Author(s)

Description

Calculates the standardized precipitation index (SPI).

Usage

1
  spi(ppt, na.rm = TRUE)

Arguments

ppt

A time series of precipitation amounts in a vector or a matrix with precipitation time series in each column.

na.rm

a logical indicating whether missing values should be removed.

Value

spi

returns the SPI value for a precipitation vector.

spi.matrix

returns a vector of standardized precipitation indices for a precipitation matrix or the SPI value for a precipitation vector.

Author(s)

Jonathan A. Greenberg, Alison R. Mynsberge


climstats documentation built on May 2, 2019, 6:15 p.m.

Related to spi in climstats...