Learn R Programming

ggfortify (version 0.4.17)

autoplot.spec: Autoplot stats::spec

Description

Autoplot stats::spec

Usage

# S3 method for spec
autoplot(
  object,
  xlim = c(NA, NA),
  ylim = c(NA, NA),
  log = "y",
  main = NULL,
  xlab = NULL,
  ylab = NULL,
  asp = NULL,
  ...
)

Value

ggplot

Arguments

object

stats::spec instance

xlim

limits for x axis

ylim

limits for y axis

log

which variables to log transform ("x", "y", or "xy")

main

character vector or expression for plot title

xlab

character vector or expression for x axis label

ylab

character vector or expression for y axis label

asp

the y/x aspect ratio

...

other arguments passed to methods

Examples

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

Run the code above in your browser using DataLab