powered by
Plot acf objects
# S3 method for acf autoplot(object, xlab = x, ylab = y, title = sprintf("%s Plot", y), ...)
A ggplot object.
An acf object.
acf
X-axis label.
y-axis label.
Graph title.
Further arguments.
Jared P. Lander
Plot acf (and pacf) objects.
autoplot(acf(sunspot.year, plot=FALSE)) autoplot(pacf(sunspot.year, plot=FALSE))
Run the code above in your browser using DataLab