Description Usage Arguments Value Examples
View source: R/be_lag_difference.R
Calculate lagged differences padded with NA values
1 | diff_shift(x, lag_space = 1)
|
x |
vector to difference (numeric) |
lag_space |
spacing for lags, useful for higher frequency monitoring (integer). |
lagged differences
1 | diff_shift(1:100, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.