xyplot.acf | R Documentation |
This is a version of stats::plot.acf()
.
## S3 method for class '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.
Original by Brian Ripley.
lattice::xyplot()
, stats::plot.acf()
, stats::acf()
.
z <- ts(matrix(rnorm(400), 100, 4), start = c(1961, 1), frequency = 12)
xyplot(acf(z))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.