Compute a data frame with lagged exogenous variables
Create a data.frame () with lagged exogenous variables.
create_lags(data, lags)
data
: A data.frame ().lags
: Integer for the number of lags.Returns a data.frame with lagged values.
Philipp Adämmer
Useful links