View source: R/ARIMA-trellis.R
tsacfplots | R Documentation |
Coordinated time series and ACF and PCF plots.
tsacfplots(x,
ylab=deparse(substitute(x)),
x.name=ylab[[1]],
main=paste("Series:", x.name),
lag.at=NULL,
lag.max=NULL,
lag.units=NULL,
lag.0=TRUE,
...)
acf.pacf.plot(x,
ylab=NULL,
series=deparse(substitute(x)),
main=paste("ACF and PACF:", series),
lag.max,
lag.units=frequency(x),
lag.at=pretty(apacf$lag),
lag.labels=lag.at*lag.units,
lag.0=TRUE,
strip=TRUE, strip.left=FALSE,
...)
x |
time series |
ylab , main |
standard trellis arguments. |
x.name , series |
Character string, name for the time series. |
lag.at |
Location of ticks for the acf and pacf plots. |
lag.labels |
Labels for ticks for the acf and pacf plots. |
lag.max |
Maximum lag used in the acf and pacf plots. |
lag.units |
Units for time series, defaults to |
lag.0 |
Logical. If |
strip , strip.left |
Standard lattice arguments described in
|
... |
Additional arguments to |
The acf and pacf plots are scaled identically.
"tsacfplots"
object containing two "trellis"
objects.
Richard M. Heiberger (rmh@temple.edu)
seqplot
tsacfplots(co2)
acf.pacf.plot(co2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.