R: Convert 'stats::spec' to 'data.frame'

fortify.spec {ggfortify} | R Documentation

## Convert `stats::spec` to `data.frame`

### Description

Convert `stats::spec` to `data.frame`

### Usage

    ## S3 method for class 'spec'
    fortify(model, data = NULL, ...)

### Arguments

`model` | `stats::spec` instance
`data` | original dataset, if needed
`...` | other arguments passed to methods

### Value

data.frame

### Examples

    fortify(spectrum(AirPassengers))
    fortify(stats::spec.ar(AirPassengers))
    fortify(stats::spec.pgram(AirPassengers))

[Package ggfortify version 0.4.1 Index]