1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
% File nlme/man/plot.compareFits.Rd
% Part of the nlme package for R
% Distributed under GPL 2 or later: see nlme/LICENCE.note
\name{plot.compareFits}
\title{Plot a compareFits Object}
\usage{
\method{plot}{compareFits}(x, subset, key, mark, \dots)
}
\alias{plot.compareFits}
\arguments{
\item{x}{an object of class \code{"\link{compareFits}"}.}
\item{subset}{an optional logical or integer vector specifying which
rows of \code{x} should be used in the plots. If missing, all
rows are used.}
\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 objects being compared. 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{dotplot}). Defaults to \code{TRUE}.}
\item{mark}{an optional numeric vector, of length equal to the number of
coefficients being compared, indicating where vertical lines should
be drawn in the plots. If missing, no lines are drawn.}
\item{\dots}{optional arguments passed down to the \code{trellis}
function generating the plots.}
}
\description{
A Trellis \code{dotplot} of the values being compared, with different
rows per group, is generated, with a different panel for each
coefficient. Different symbols (colors) are used for each object being
compared.
}
\value{
A Trellis \code{dotplot} of the values being compared, with rows
determined by the groups and panels by the coefficients.
}
\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}
\seealso{\code{\link{compareFits}}, \code{\link{pairs.compareFits}},
\code{\link{dotplot}}
}
\examples{
example(compareFits) # cF12 <- compareFits(coef(lmList(Orthodont)), .. lme(*))
plot(cF12)
}
\keyword{models}
|