lagn | R Documentation |
Produce a vector lagged backward of forward
lagn(x, i, na = NA)
x |
An initial vector. |
i |
Size of lag (lead if negative). |
na |
A value to fill missing observations, |
Lagged or leaded vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.