Learn R Programming

useful (version 1.2.4)

fortify.acf: fortify.acf

Description

Fortify an acf/pacf object

Usage

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

Arguments

model

An acf object.

data

Not used. Just for consistency with the fortify method.

Other arguments

Value

data.frame for plotting with ggplot.

Details

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

Examples

Run this code
# NOT RUN {
fortify(acf(sunspot.year, plot=FALSE))
fortify(pacf(sunspot.year, plot=FALSE))

# }

Run the code above in your browser using DataLab