powered by
Lagging by shifting the values back or fourth always returning a data.list.
lagdl(DL, lagseq)
The data.list to be lagged.
The integer(s) setting the lag steps.
A data.list.
This function lags (shifts) the values of the vector. A data.list is always returned with each data.frame lagged with lagdf.
lagdf
# NOT RUN { # The values are simply shifted in each data.frame with lagdf # }
Run the code above in your browser using DataLab