Learn R Programming

ClimInd (version 0.1-2)

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

precipitation

data_names

names of each period of time

na.rm

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

...

...

Value

SPI

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<U+2013>184, 1993.

Examples

Run this code
# NOT RUN {
data(data_all)
spi1(data = data_all$rr)
# }

Run the code above in your browser using DataLab