recession(lfobj, method = c("MRC", "IRS"), seglength, threshold, peaklevel = 0.95, seasonbreakdays = NULL, thresbreaks = c("fixed", "monthly","seasonal"), thresbreakdays = NULL, plotMRC = TRUE, trimIRS = 0, na.rm = TRUE)seglenplot to choose a good value.recessionplot
to find a good level or hand a logical vector where TRUE means rainpeak.If thresbreakdays or seasonbreakdays is a single day, e.g. "01/06", the start of the hydrological year is taken as the second breakday. If more than two seasons are to be specified, a vector of all breakdays is needed.
seglenplot, recessionplot## Not run:
# data(ngaruroro)
# recession(ngaruroro,method = "MRC",seglen = 7,threshold = 70)
# ## End(Not run)
Run the code above in your browser using DataLab