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_names
names of each period of time
na.rm
logical. Should missing values (including NaN) be removed?