lagdl | R Documentation |
Lagging by shifting the values back or fourth always returning a data.list.
lagdl(DL, lagseq)
DL |
The data.list to be lagged. |
lagseq |
The integer(s) setting the lag steps. |
This function lags (shifts) the values of the vector. A data.list is always returned with each data.frame lagged with lagdf
.
A data.list.
# The values are simply shifted in each data.frame with lagdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.