BFI: Base Flow Index

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Calculates the base flow index of an object of class 'lfobj'.

Usage

1
BFI(lfobj, year = "any",breakdays = NULL, yearly = FALSE)

Arguments

lfobj

An object of class "lfobj"

year

The year for which the BFI should be computed. If hyearstart != 1 the BFI is calculated for the hydrological year "any" means the whole series should be taken.

breakdays

A vector of breakdays if the BFI should be calculated for different seasons.

yearly

If TRUE, the BFI is calculated for each hydrological year separately.

Details

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

Value

A length one vector giving the BFI for the whole series or the specified year. If yearly is true, a vector of the annual BFIs is returned. If breakdays are specified, the values are separated per season.

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.

See Also

bfplot

Examples

1
2
3
4
5
data(ngaruroro)
BFI(ngaruroro)
BFI(ngaruroro, breakdays = c("01/11","01/05"))
BFI(ngaruroro, year = 1991)
bfplot(ngaruroro, year = 1991)

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
[1] 0.5499149
Season from 1/11 to 1/5 Season from 1/5 to 1/11 
              0.5544865               0.5473518 
[1] 0.5298445

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