Learn R Programming

FlowScreen (version 0.9)

bf_oneparam: One parameter recursive digital filter

Description

This function estimates baseflow.

Usage

bf_oneparam(discharge, k)

Arguments

discharge
Numeric vector of daily flow data
k
Numeric value for the recession constant (dimensionless).

Value

  • Returns a numeric vector of the estimated baseflow.

References

Eckhardt, K. 2005. How to construct recursive digital filters for baseflow separation methods. Journal of Hydrology 352: 168-173.

Examples

Run this code
data(cania.sub.ts)
res <- bf_oneparam(cania.sub.ts$Flow, k=0.9)
plot(cania.sub.ts$Date, cania.sub.ts$Flow, xlab="", ylab="Q (m3/s)", type="l")
points(cania.sub.ts$Date, res, type="l", col="blue")

Run the code above in your browser using DataLab