Learn R Programming

lfstat (version 0.9.12)

seasratio: Seasonality Ratio

Description

Calculates the seasonality ratio for two seasons.

Usage

seasratio(lfobj,
          breakdays,
          Q = 95)

Value

The seasonality ratio.

Arguments

lfobj

An object of class "lfobj"

breakdays

One or two dates defining the summer/winter season

Q

Which quantile to use (standard = Q95)

Author

Daniel Koffler and Gregor Laaha

Details

If 'breakdays' is a single day, e.g. "01/06", the start of the hydrological year is taken as the second break day. If other seasons are to be specified, a vector of two break days 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 break day
seasratio(ngaruroro, breakdays = "01/07")

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

Run the code above in your browser using DataLab