dmcurve {lfstat} | R Documentation |
Double Mass Curve
Description
Calculates the double mass curve of two object of class 'lfobj'
.
Usage
dmcurve(x, y, year = "any", namex = substitute(x), namey = substitute(y),
na.rm = TRUE)
Arguments
x |
An object of class |
y |
An object of class |
year |
The year for which the double mass curve should be calculated |
namex |
character - Label of the x-Axis in the double mass curve |
namey |
character - Label of the y-Axis in the double mass curve |
na.rm |
Remove NAs? |
Value
No return value, called for side effects (plotting).
Author(s)
Daniel Koffler and Gregor Laaha
References
Gustard, A. & Demuth, S. (2009) (Eds) Manual on Low-flow Estimation and Prediction. Operational Hydrology Report No. 50, WNO-No. 1029, 136p.
Examples
data(ngaruroro)
n1 <- subset(ngaruroro, year %in% 1985:1989)
n2 <- subset(ngaruroro, year %in% 1990:1995)
dmcurve(n1,n2, namex = "'Ngaruroro 1985 - 1989'", namey = "'Ngaruroro 1990
- 1995'")
[Package lfstat version 0.9.12 Index]