Description Usage Arguments Value Examples
Compute diffences of values that are cumulative sums restarting from 0 every period such as accouting values.
1 | diff_basis(x, t, tbase = 1, ...)
|
x |
numeric/integer vector |
t |
time index |
tbase |
value of time index where cumulative sums starts from 0 |
... |
args passed to 'diff_fill()' |
return
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.