Learn R Programming

ClimInd (version 0.1-2)

calc_spi: SPI: Standardized Precipitation Index 1, 3, 6 and 12 month SPI

Description

SPI: Standardized Precipitation Index 1, 3, 6 and 12 month SPI

Usage

calc_spi(data, data_names = NULL, scale = 3, na.rm = FALSE)

Arguments

data

precipitation

data_names

names of each period of time

scale

scale

na.rm

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

Value

SPI