Description Usage Arguments Value
Compute a lagged version of a vector like time series
1 | glag(x, k = -1)
|
x |
A vector or univariate time series |
k |
The number of lags |
A vector object with the same length of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.