Open SpencerDH opened 6 years ago
forecast.xgbar
isn't designed to be called explicitly but should work as just the .xgbar
method for forecast
. Does forecast(xgbar_season)
work for you?
I can't reproduce the problem with the help files; perhaps try re-installing?
I have installed forecastxgb from GitHub, but forecast.xgbar() is unavailable even when the package is loaded into the workspace. The version of R being used is 3.5.0.
Reproducible example:
`install_github("ellisp/forecastxgb-r-package/pkg") library(forecastxgb)
sample_ts <- ts(sample(8:30, replace = TRUE, size = 25))
xgbar_season <- xgbar(sample_ts)
fcast <- forecast.xgbar(xgbar_season)`
This returns the error:
Error in forecast.xgbar(xgbar_season) : could not find function "forecast.xgbar"
xgbar() works fine. Additionally, the help files for the forecastxgb functions are unavailable and return an error saying that the forecastxgb.rdb file is corrupt.