Learn R Programming

FlowScreen (version 1.2.6)

bf.seas: Seasonal baseflow percentage

Description

This function estimates the percentage of baseflow in a given period relative to the total annual baseflow.

Usage

bf.seas(TS, seas = c(6:8))

Arguments

TS

output from create.ts containing a data.frame of flow time series

seas

Integers representing months of the year. Default is c(6:8), i.e. June-August.

Value

Returns a vector containing the calculated percentage for each year in the input time series. The "times" attribute provides the corresponding year for each calculated value.

Details

This function calls bf_eckhardt to complete the baseflow separation.

See Also

See bf.stats to calculate additional baseflow metrics.

Examples

Run this code
# NOT RUN {
data(cania.sub.ts)
res <- bf.seas(cania.sub.ts)
res2 <- screen.metric(res, "Percent Annual Baseflow in Jun-Aug")
# }

Run the code above in your browser using DataLab