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

View source: R/fortify_forecast.R

fortify.etsR Documentation

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

Description

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

Usage

## S3 method for class '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

## Not run: 
fortify(forecast::bats(UKgas))
fortify(forecast::ets(UKgas))

## End(Not run)

ggfortify documentation built on May 29, 2024, 7:19 a.m.