powered by
forecast::bats
forecast::ets
data.frame
Convert forecast::bats and forecast::ets to data.frame
# S3 method for ets fortify(model, data = NULL, ...)
forecast::bats or forecast::ets instance
original dataset, if needed
other arguments passed to methods
if (FALSE) { fortify(forecast::bats(UKgas)) fortify(forecast::ets(UKgas)) }
Run the code above in your browser using DataLab