tactile (version 0.2.0)

xyplot.acf: Plot Autocovariance and Autocorrelation Functions

Description

This is a version of stats::plot.acf().

Usage

# 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, ...)

Value

Returns and plots a trellis object.

Arguments

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 lattice::xyplot().

Author

Original by Brian Ripley.

See Also

Examples

Run this code
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