ggfortify (version 0.4.17)

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, ...)

Value

data.frame

Arguments

model

forecast::bats or forecast::ets instance

data

original dataset, if needed

...

other arguments passed to methods

Examples

Run this code
if (FALSE) {
fortify(forecast::bats(UKgas))
fortify(forecast::ets(UKgas))
}

Run the code above in your browser using DataLab