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