% File nlme/man/plot.augPred.Rd % Part of the nlme package for R % Distributed under GPL 2 or later: see nlme/LICENCE.note \name{plot.augPred} \title{Plot an augPred Object} \usage{ \method{plot}{augPred}(x, key, grid, \dots) } \alias{plot.augPred} \arguments{ \item{x}{an object of class \code{"\link{augPred}"}.} \item{key}{an optional logical value, or list. If \code{TRUE}, a legend is included at the top of the plot indicating which symbols (colors) correspond to which prediction levels. If \code{FALSE}, no legend is included. If given as a list, \code{key} is passed down as an argument to the \code{trellis} function generating the plots (\code{xyplot}). Defaults to \code{TRUE}.} \item{grid}{an optional logical value indicating whether a grid should be added to plot. Default is \code{FALSE}.} \item{\dots}{optional arguments passed down to the \code{trellis} function generating the plots.} } \description{ A Trellis \code{xyplot} of predictions versus the primary covariate is generated, with a different panel for each value of the grouping factor. Predicted values are joined by lines, with different line types (colors) being used for each level of grouping. Original observations are represented by circles. } \value{ A Trellis plot of predictions versus the primary covariate, with panels determined by the grouping factor. } \author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}} \seealso{\code{\link{augPred}}, \code{\link{xyplot}}} \examples{ fm1 <- lme(Orthodont) plot(augPred(fm1, level = 0:1, length.out = 2)) } \keyword{models}