get_drought_series | R Documentation |
Function to select drought events
get_drought_series(Date, SPEI, threshold = 0, year_bounds = c(1900, 2019))
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. |
Note that the function 'calculate_SPEI_MECC()' has two SPEI columns. One ('.$SPEI') with filled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.