If you need to do time series regression with specified lags you can use this package
https://cran.r-project.org/web/packages/dynlm/dynlm.pdf …
to specify the lags you use the lag operator syntax: L(x)
Anuncios
If you need to do time series regression with specified lags you can use this package
https://cran.r-project.org/web/packages/dynlm/dynlm.pdf …
to specify the lags you use the lag operator syntax: L(x)