Learn R Programming

lfstat (version 0.9.4)

hydrograph: Hydrograph

Description

Plots the hydrograph for a given period.

Usage

hydrograph(lfobj, startdate = NULL, enddate = NULL, amin = FALSE,...)

Arguments

lfobj
An object of class "lfobj"
startdate
Begin of hydrograph, date or hydrological year
enddate
End of hydrograph, date or hydrological year
amin
logical, mark annual minima?
...
Additional arguments handed to "plot" - please note that some changes e.g. tickmarks on x-axis are not possible

Value

Plot of hydrograph

Details

Startdate and enddate can be NULL (first/last date in lfobj), a date in format "dd/mm/yyyy" (e.g. "01/10/1971") or a year yyyy (e.g 1961).

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

bfplot

Examples

Run this code
data(ngaruroro)
#Full period
hydrograph(ngaruroro)
#Hydrological year 1981 and 1982 with annual minima
hydrograph(ngaruroro, startdate = 1981, enddate = 1982, amin = TRUE)
#From 01/01/1981 to 31/03/1981
hydrograph(ngaruroro, startdate = "01/01/1981", enddate = "31/03/1981")
#Log - yaxis
hydrograph(ngaruroro, startdate = "01/01/1981", enddate =
"31/03/1981",log = "y")

Run the code above in your browser using DataLab