Learn R Programming

lfstat (version 0.9.4)

seasratio: Seasonality Ratio

Description

Calculates the seasonality ratio for two seasons.

Usage

seasratio(lfobj, breakdays, Q = 95)

Arguments

lfobj
An object of class "lfobj"
breakdays
One or two dates defining the summer/winter season
Q
Which quantile to use (standard = Q95)

Value

The seasonality ratio.

Details

If breakdays is a single day, e.g. "01/06", the start of the hydrological year is taken as the second breakday. If other seasons are to be specified, a vector of two breakdays is needed.

References

Laaha, G. and Bl\"oschl, G. (2006), Seasonality indices for regionalizing low flows. Hydrol. Process., 20

See Also

seasindex

Examples

Run this code
data(ngaruroro)
#Start of the hydrological year (01/12) is taken as second breakday
seasratio(ngaruroro, breakdays = "01/07")

#Two breakdays
seasratio(ngaruroro, breakdays = c("01/03","01/09"))

Run the code above in your browser using DataLab