Hello I am trying to generate a time series least square regression with multiple combinations with a set of variables incluiding their lags. I found this useful link:
But when I try to replicate, I obtain this error:
I try to use the vec_names() package, but it says that have to be a character vector or the rename package but it didn't recognize it.