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