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

fortify.ets {ggfortify} | R 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)

[Package ggfortify version 0.4.3 Index]