| my_lag | R Documentation |
my_lag: Lag a vector of values
my_lag(x, nlag = 1)
x |
A vector of values to be lagged |
nlag |
Length of lag: negative value indicates an 'uplag' |
= a lagged vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.