Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`xreg` issue when having user-defined forecast function #28
Comments
|
If users define their own forecast function where there's an |
library(hts)
library(forecastHybrid )
forecast(htseg1, a.args = list(xreg = data.frame(1:10)), models = "aet",
newxreg = data.frame(11:20), FUN = hybridModel)This should work now. |
I was trying to use forecastHybrid with hierarchical time series and external regressors but I cannot figure out how to do that. I am trying in this way:
But I got the following error: