Learn R Programming

FlowScreen (version 2.0)

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))

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.

Arguments

TS

data.frame of streamflow time series loaded with read.flows.

seas

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

Author

Jennifer Dierauer

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
data(cania.sub.ts)
cania.sub.ts <- set.plot.titles(cania.sub.ts, title.elements = c("StationID", "Country"))
res <- bf.seas(cania.sub.ts)
res2 <- screen.metric(res, "Percent Annual Baseflow in Jun-Aug", title = TRUE)

Run the code above in your browser using DataLab