Description Usage Arguments Value Examples
Applies an exponential dampening input time series with specified time scale.
1 | dampen_vec(vec, tau)
|
vec |
A numeric vector for the time series of a daily meteorological
variable used as input for |
tau |
The time scale of dampening (e-folding time scale of a perturbation). Must be smaller or equal to 365 d. |
A numeric vector of equal length as x
with damped variation.
The dampening is calculated as:
S(t+1) - S(t) = (X(t+1) - S(t)) / τ
Where X is the daily varying time series given by argument x
,
S is the dampened time returned by this function, and τ is
the decay time scale of a perturbation, given by argument tau
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.