plot.ACF {nlme} | R Documentation |
an xyplot
of the autocorrelations versus the lags, with
type = "h"
, is produced. If alpha > 0
, curves
representing the critical limits for a two-sided test of level
alpha
for the autocorrelations are added to the plot.
## S3 method for class 'ACF' plot(x, alpha, xlab, ylab, grid, ...)
x |
an object inheriting from class |
alpha |
an optional numeric value with the significance level for
testing if the autocorrelations are zero. Lines corresponding to the
lower and upper critical values for a test of level |
xlab,ylab |
optional character strings with the x- and y-axis
labels. Default respectively to |
grid |
an optional logical value indicating whether a grid should
be added to plot. Default is |
... |
optional arguments passed to the |
an xyplot
Trellis plot.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary) plot(ACF(fm1, maxLag = 10), alpha = 0.01)