Learn R Programming

useful (version 1.2.0)

fortify.acf: fortify.acf

Description

Fortify an acf/pacf object

Usage

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

Arguments

model
An acf object.
data
Not used. Just for consistency with the fortify method.
...
Other arguments

Value

Details

Prepares acf (and pacf) objects for plotting with ggplot.

Examples

Run this code
fortify(acf(sunspot.year, plot=FALSE))
fortify(pacf(sunspot.year, plot=FALSE))

Run the code above in your browser using DataLab