get_drought_series: Function to select drought events

get_drought_seriesR Documentation

Function to select drought events

Description

Function to select drought events

Usage

get_drought_series(Date, SPEI, threshold = 0, year_bounds = c(1900, 2019))

Arguments

Date

series of dates (monthly) to be of the time series.

SPEI

series of month SPEI (-), preferably obtained with 'calculate_SPEI_MECC()'.

threshold

scalar, maximum value of SPEI for a period to be classified as droguht

year_bounds

vector with two integer values, the years of beggining and end of analysis.

Details

Note that the function 'calculate_SPEI_MECC()' has two SPEI columns. One ('.$SPEI') with filled


pedroalencar1/DroughtSDF documentation built on May 8, 2023, 6:58 p.m.