sdf | R Documentation |
Applies exponential smoothing to discharge data.
sdf(discharge, delta = 0.95)
discharge |
vector of discharge data (numeric). |
delta |
the discount factor which can be any value between (0,1),
defaults to 0.95. As |
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:
SDF(δ) = dκ_{i-1} + (1-δ)\hat{q}_{i-1},
and
κ_{i} = ∑_{m=1}^{i}\hat{q}_m,
for discount factor δ, where κ_{i} represents cumulative flow up to the ith day.
vector of values the same length as discharge
.
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.
# Standard use case ma <- sdf(lavaca$Flow, delta=0.95) head(ma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.