This is a package that has its origin in my bachelor thesis on "Exploring the Potential of Dynamic Factor Models for High-Dimensional Time Series Forecasting".
It can be downloaded with
library(devtools)
install_github("linuswolff/DynamicFactorModel")
The package has three functions. The first estimates a DFM of
?forecastDFM
?ICfactors_mine
?loop_over_forecastDFM
The Dynamic Factor Models are estimated by PCA and forecasts are based on the Factor Augmented Auto Regression approach in Stock and Watson (2002).