Multiple time series (at least 2 columns of time series)
max.lag
Maximum lag. Can be omitted. Defaults to \(\sqrt{n} + 10\) unless \(n < 60\). If the series is seasonal, this will be at least 4 seasons by default.
na.action
How to handle missing data; default is na.pass
ylim
Specify limits for the all correlation axes. If NULL (default) the values
are a little wider than the min and max of all values.
acf.highlight
If TRUE (default), the diagonals (ACFs) are highlighted.
plot
If TRUE (default), you get a wonderful graphic.
...
Additional arguments passed to tsplot
Author
D.S. Stoffer
Details
Produces a grid of plots of the sample ACF (diagonal) and CCF (off-diagonal).
The plots in the grid are estimates of corr{x(t+LAG), y(t)}. Thus
x leads y if LAG is positive and x lags y if LAG is negative.
If plot is FALSE, then there is no graphic.
References
You can find demonstrations of astsa capabilities at
FUN WITH ASTSA.