This is a version of stats::plot.acf().
stats::plot.acf()
# S3 method for acf xyplot(x, data = NULL, ci = 0.95, ci_type = c("white", "ma"), ci_col = trellis.par.get("add.line")$col, ci_lty = 2, ...)
Returns and plots a trellis object.
trellis
An 'acf' object.
Ignored
Confidence level.
Type of confidence level.
Line color for the confidence levels.
Line type for the confidence levels.
Arguments passed on to lattice::xyplot().
lattice::xyplot()
Original by Brian Ripley.
lattice::xyplot(), stats::plot.acf(), stats::acf().
stats::acf()
z <- ts(matrix(rnorm(400), 100, 4), start = c(1961, 1), frequency = 12) xyplot(acf(z))
Run the code above in your browser using DataLab