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

Description Usage Arguments Value Examples

View source: R/fortify_forecast.R

Description

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

Usage

1
2
## 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

1
2
3
4
5
## Not run: 
fortify(forecast::bats(UKgas))
fortify(forecast::ets(UKgas))

## End(Not run)

sinhrks/ggfortify documentation built on May 26, 2018, 6:24 p.m.