sdf {adc} | R Documentation |
Smooth Discounted Flow
Description
Applies exponential smoothing to discharge data.
Usage
sdf(discharge, delta = 0.95)
Arguments
discharge |
vector of discharge data (numeric). |
delta |
the discount factor which can be any value between (0,1),
defaults to 0.95. As |
Details
The smooth discounted flow (SDF) was proposed by Kuhnert et al. (2012). The premise of SDF is to incorporate the influence of historical flows on flux:
and
for discount factor , where
represents
cumulative flow up to the
th day.
Value
vector of values the same length as discharge
.
References
Kuhnert, Petra M., Brent L. Henderson, Stephen E. Lewis, Zoe T. Bainbridge, Scott N. Wilkinson, and Jon E. Brodie. 2012. “Quantifying Total Suspended Sediment Export from the Burdekin River Catchment Using the Loads Regression Estimator Tool” Water Resources Research 48 (4). doi:10.1029/2011WR011080.
Examples
# Standard use case
ma <- sdf(lavaca$Flow, delta=0.95)
head(ma)