Learn R Programming

FlowScreen (version 1.2.6)

bf.stats: Baseflow statistics

Description

This function estimates the baseflow and calculates the mean, max, and min baseflow and baseflow index for a user defined time period.

Usage

bf.stats(TS, by = "hyear")

Value

Returns a data.frame with the following columns:

  • By - Unique values representing the summary periods, e.g. a list of unique years, months, or days of year

  • MeanQ - Mean daily streamflow for the summary period, in m3/s

  • MeanBF - Mean daily baseflow for the summary period, in m3/s

  • MaxBF - Maximum daily baseflow for the summary period, in m3/s

  • MinBF - Minimum daily baseflow for the summary period, in m3/s

  • BFVol - Baseflow volume for the summary period, in km3

  • MeanBFI - Mean daily baseflow index for the summary period, dimensionless

  • MaxBFI - Maximum daily baseflow index for the summary period, dimensionless

  • MinBFI - Minimum daily baseflow index for the summary period, dimensionless

Arguments

TS

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

by

summary period. Options are "year", "hyear", "month", or "doy". Default is "hyear".

Author

Jennifer Dierauer

Details

This function calls bf_eckhardt to complete the baseflow separation.

Examples

Run this code
data(cania.sub.ts)

res <- bf.stats(cania.sub.ts)
res2 <- screen.metric(res[,2], "m3/s")

Run the code above in your browser using DataLab