Rev 6563 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/plot.ACF.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{plot.ACF}\title{Plot an ACF Object}\usage{\method{plot}{ACF}(x, alpha, xlab, ylab, grid, \dots)}\alias{plot.ACF}\arguments{\item{x}{an object inheriting from class \code{ACF},consisting of a data frame with two columns named \code{lag} and\code{ACF}, representing the autocorrelation values and thecorresponding lags.}\item{alpha}{an optional numeric value with the significance level fortesting if the autocorrelations are zero. Lines corresponding to thelower and upper critical values for a test of level \code{alpha} areadded to the plot. Default is \code{0}, in which case no lines areplotted.}\item{xlab,ylab}{optional character strings with the x- and y-axislabels. Default respectively to \code{"Lag"} and\code{"Autocorrelation"}.}\item{grid}{an optional logical value indicating whether a grid shouldbe added to plot. Default is \code{FALSE}.}\item{\dots}{optional arguments passed to the \code{xyplot} function.}}\description{an \code{xyplot} of the autocorrelations versus the lags, with\code{type = "h"}, is produced. If \code{alpha > 0}, curvesrepresenting the critical limits for a two-sided test of level\code{alpha} for the autocorrelations are added to the plot.}\value{an \code{xyplot} Trellis plot.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{ACF}}, \code{\link[lattice]{xyplot}}}\examples{fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary)plot(ACF(fm1, maxLag = 10), alpha = 0.01)}\keyword{models}