This is a version of 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, ...)
x | An 'acf' object. |
---|---|
data | Ignored |
ci | Confidence level. |
ci_type | Type of confidence level. |
ci_col | Line color for the confidence levels. |
ci_lty | Line type for the confidence levels. |
... | Arguments passed on to |
Returns and plots a trellis
object.
z <- ts(matrix(rnorm(400), 100, 4), start = c(1961, 1), frequency = 12) xyplot(acf(z))