autoplot.acf: autoplot.acf

View source: R/tsPlot.r

autoplot.acfR Documentation

autoplot.acf

Description

Plot acf objects

Usage

## S3 method for class 'acf'
autoplot(object, xlab = x, ylab = y, title = sprintf("%s Plot", y), ...)

Arguments

object

An acf object.

xlab

X-axis label.

ylab

y-axis label.

title

Graph title.

...

Further arguments.

Details

Plot acf (and pacf) objects.

Value

A ggplot object.

Author(s)

Jared P. Lander

Examples


autoplot(acf(sunspot.year, plot=FALSE))
autoplot(pacf(sunspot.year, plot=FALSE))


jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.