Learn R Programming

lfstat (version 0.9.4)

fdc: Flow Duration Curve

Description

Plots the flow duration curve for a given lfobj.

Usage

fdc(lfobj, year = "any", breakdays = NULL, colors = TRUE, xnorm = FALSE, ylog = TRUE, legend = TRUE, separate = FALSE, ...)

Arguments

lfobj
An object of class "lfobj"
year
numeric - The year for which the fdc should be computed. If hyearstart != 1 the BFI is calculated for the hydrological year! "any" means the whole series should be taken.
breakdays
A vector of breakdays if the BFI should be calculated for different seasons.
colors
logical - If breakdays are specified, should the different fdcs are displayed in different colors?
xnorm
logical - should the x-axis be normalized?
ylog
logical - The the logarithm of the y-axis?
legend
logical - Should a legend be plotted?
separate
logical - Should a separate plot be drawn for every season?
...
Graphical parameters handed to plot

Value

A vector of quantiles.

Details

If breakdays 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.

References

Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WMO-No. 1029, 136p.

See Also

ecdf

Examples

Run this code
data(ngaruroro)
fdc(ngaruroro,year = 1991)


Run the code above in your browser using DataLab