Shift index of variable by given lag.
1 | index.shift(var, lag, rotate = FALSE)
|
var |
The variable of interest |
lag |
The lag, either positive or negative. |
rotate |
Add dropped values back at other side? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.