vec_shift | R Documentation |
Shift operation
vec_shift(v, lag = 0)
v |
a numeric vector |
lag |
a numeric |
a lagged vector
vec_shift(1:7, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.