ellisp / forecastHybrid

Convenient functions for ensemble forecasts in R combining approaches from the {forecast} package
GNU General Public License v3.0
80 stars 24 forks source link

messy function call #27

Closed dashaub closed 5 years ago

dashaub commented 8 years ago

The function calls are not formatted the same was as the base models in the "forecast" package. For example, compare

a1 <- auto.arima(wineind)
a1$call

with

h1 <- hybridModel(wineind)
h1$auto.arima$call

This might be able to be fixed by modifying the do.call() functions that call the individual component models.

dashaub commented 8 years ago

A possible solution is to clean this up by overwriting $call for each component model after it is created with do.call.