ggfortify (version 0.4.11)

fortify.ets: Convert forecast::bats and forecast::ets to data.frame

Description

Convert forecast::bats and forecast::ets to data.frame

Usage

# S3 method for ets
fortify(model, data = NULL, ...)

Arguments

model

forecast::bats or forecast::ets instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

Run this code
# NOT RUN {
fortify(forecast::bats(UKgas))
fortify(forecast::ets(UKgas))
# }

Run the code above in your browser using DataCamp Workspace