Learn R Programming

ggfortify (version 0.4.17)

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

Description

Convert stats::spec to data.frame

Usage

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

Value

data.frame

Arguments

model

stats::spec instance

data

original dataset, if needed

...

other arguments passed to methods

Examples

Run this code
if (FALSE) {
fortify(spectrum(AirPassengers))
fortify(stats::spec.ar(AirPassengers))
fortify(stats::spec.pgram(AirPassengers))
}

Run the code above in your browser using DataLab