spi12 {ClimInd}R Documentation

Standardized precipitation index 12

Description

Standardized precipitation index calculated at 12-month time scale

Usage

spi12(data, data_names = NULL, na.rm = FALSE, ...)

Arguments

data

daily precipitation, mm

data_names

names of each period of time

na.rm

logical. Should missing values (including NaN) be removed?

...

further arguments passed to or from other methods

Value

index value

References

McKee, T. B., Doesken, N. J. and Kleist, J.: The relationship of drought frequency and duration to time scales, Eighth Conf. Appl. Climatol., 179–184, 1993.

Examples

data(data_all)
spi12(data = data_all$rr)

[Package ClimInd version 0.1-3 Index]