Description Usage Arguments Details Value Warning Author(s) References See Also Examples
Plots a barchart to find a good value for 'seglength' when using
recession
.
1 2 3 4 5 6 | seglenplot(lfobj,
threslevel = 70,
thresbreaks = c("fixed","monthly","seasonal"),
thresbreakdays = NULL,
rainpeaklevel = 0.95,
na.rm = TRUE)
|
lfobj |
An object of class "lfobj" |
threslevel |
The threshold level (70 means Q70) |
thresbreaks |
"fixed" uses a fixed threshold level, "monthly" calculates the threshold for every month separatly, "seasonal" calculates thresholds for every season defined using "thresbreakdays". |
thresbreakdays |
Needed if "thresbreaks = 'seasonal'" to define the periodes for which separate thresholds should be calculated, see details |
rainpeaklevel |
A level between 0 and 1 or a logical vector, see details. |
na.rm |
Should NAs in the series be ignored? |
For recession analysis it is necessary to define flood discharge peaks (rainpeaks) in the hydrograph. Rainpeaklevel defines a day to be a discharge peak, if rainpeaklevel * flow > flow[day before] and rainpeaklevel * flow > flow[day after].
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.
A barchart
Other then in the manual, we implemented a barchart instead of a histogram. To save space, empty bars are not plotted!
Daniel Koffler and Gregor Laaha
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WMO-No. 1029, 136p.
1 2 3 4 | ## Not run:
data(ngaruroro)
seglenplot(ngaruroro)
## End(Not run)
|
Loading required package: xts
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: lmom
Loading required package: lattice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.