Rev 6562 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/plot.nffGroupedData.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{plot.nffGroupedData}\title{Plot an nffGroupedData Object}\usage{\method{plot}{nffGroupedData}(x, outer, inner, innerGroups, xlab, ylab, strip, panel, key,grid, \dots)}\alias{plot.nffGroupedData}\arguments{\item{x}{an object inheriting from class \code{nffGroupedData},representing a \code{groupedData} object with a factor primarycovariate and a single grouping level.}\item{outer}{an optional logical value or one-sided formula,indicating covariates that are outer to the grouping factor, whichare used to determine the panels of the Trellis plot. Ifequal to \code{TRUE}, \code{attr(object, "outer")} is used to indicate theouter covariates. An outer covariate is invariant within the setsof rows defined by the grouping factor. Ordering of the groups isdone in such a way as to preserve adjacency of groups with the samevalue of the outer variables. Defaults to \code{NULL}, meaning thatno outer covariates are to be used.}\item{inner}{an optional logical value or one-sided formula, indicatinga covariate that is inner to the grouping factor, which is used toassociate points within each panel of the Trellis plot. Ifequal to \code{TRUE}, \code{attr(object, "inner")} is used to indicate theinner covariate. An inner covariate can change within the sets ofrows defined by the grouping factor. Defaults to \code{NULL},meaning that no inner covariate is present.}\item{innerGroups}{an optional one-sided formula specifying a factorto be used for grouping the levels of the \code{inner}covariate. Different colors, or symbols, are used for each levelof the \code{innerGroups} factor. Default is \code{NULL}, meaningthat no \code{innerGroups} covariate is present.}\item{xlab}{an optional character string with the label for thehorizontal axis. Default is the \code{y} elements of \code{attr(object,"labels")} and \code{attr(object, "units")} pasted together.}\item{ylab}{an optional character string with the label for thevertical axis. Default is the grouping factor name.}\item{strip}{an optional function passed as the \code{strip} argument tothe \code{dotplot} function. Default is \code{strip.default(..., style= 1)} (see \code{trellis.args}).}\item{panel}{an optional function used to generate the individualpanels in the Trellis display, passed as the \code{panel} argumentto the \code{dotplot} function.}\item{key}{an optional logical function or function. If \code{TRUE}and either \code{inner} or \code{innerGroups} are non-\code{NULL}, alegend for the different \code{inner} (\code{innerGroups}) levels isincluded at the top of the plot. If given as a function, it is passedas the \code{key} argument to the \code{dotplot} function. Default is\code{TRUE} is either \code{inner} or \code{innerGroups} arenon-\code{NULL} and \code{FALSE} otherwise.}\item{grid}{this argument is included for consistency with the\code{plot.nfnGroupedData} method calling sequence. It isignored in this method function.}\item{\dots}{optional arguments passed to the \code{dotplot} function.}}\description{A Trellis dot-plot of the response by group is generated. If outervariables are specified, the combination of their levels are used todetermine the panels of the Trellis display. The Trellis function\code{dotplot} is used.}\value{a Trellis dot-plot of the response by group.}\references{Bates, D.M. and Pinheiro, J.C. (1997), "Software Design for LongitudinalData", in "Modelling Longitudinal and Spatially Correlated Data:Methods, Applications and Future Directions", T.G. Gregoire (ed.),Springer-Verlag, New York.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{groupedData}}, \code{\link{dotplot}}}\examples{plot(Machines)plot(Machines, inner = TRUE)}\keyword{models}