dmcurve: Double Mass Curve

Description Usage Arguments Author(s) References Examples

Description

Calculates the double mass curve of two object of class 'lfobj'.

Usage

1
2
dmcurve(x, y, year = "any", namex = substitute(x), namey = substitute(y), 
    na.rm = TRUE) 

Arguments

x

An object of class "lfobj"

y

An object of class "lfobj"

year

The year for which the dmcuve should be calculated

namex

character - Label of the x-Axis in the dmcurve

namey

character - Label of the y-Axis in the dmcurve

na.rm

Remove NAs?

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, WMO-No. 1029, 136p.

Examples

1
2
3
4
5
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'")

Example output

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

lfstat documentation built on May 2, 2019, 6:07 p.m.