Description Usage Arguments Details Value Examples
Compute cumulative C evolved
1 | cumulative_evolution(time, flux, interpolate = TRUE)
|
time |
Time, typically s or hr but arbitrary; numeric |
flux |
Flux, in units of X/unit time; numeric |
interpolate |
Interpolate missing values? Logical |
X evolved at timestep i is the
lag between time[i]
and time[i-1]
multiplied by the mean of
flux[i]
and flux[i-1]
.
The first timestamp value is considered as time zero, so its corresponding
cumulative value will always be zero.
A vector of cumulative values of X evolved.
1 2 | cumulative_evolution(1:4, c(1, 1, NA, 1))
cumulative_evolution(1:4, c(1, 1, 2, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.