Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

spi1

Standardized precipitation index 1


Description

Standardized precipitation index calculated at 1-month time scale

Usage

spi1(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)
spi1(data = data_all$rr)

ClimInd

Climate Indices

v0.1-3
GPL (>= 3)
Authors
Fergus Reig-Gracia [aut, cre], Sergio M. Vicente-Serrano [aut], Fernando Dominguez-Castro [aut], Joaquin Bedia-Jiménez [ctb]
Initial release
2021-04-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.