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

View source: R/fortify_stats.R

fortify.specR 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

## Not run: 
fortify(spectrum(AirPassengers))
fortify(stats::spec.ar(AirPassengers))
fortify(stats::spec.pgram(AirPassengers))

## End(Not run)

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