Description Usage Arguments Value
lag data and subset the results
1 | lag_matrix(x, lags, n_subset = 1L, n_shift = 0L, var_name = "lag")
|
x |
|
lags |
|
n_subset |
|
n_shift |
|
var_name |
|
matrix with lagged values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.