Rev 251 | Rev 5693 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: plot.compareFits.Rd,v 1.8.2.1 2003/04/17 22:28:45 bates Exp $\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{compareFits}.}\item{subset}{an optional logical or integer vector specifying whichrows of \code{x} should be used in the plots. If missing, allrows are used.}\item{key}{an optional logical value, or list. If \code{TRUE}, a legendis included at the top of the plot indicating which symbols (colors)correspond to which objects being compared. If \code{FALSE}, no legendis included. If given as a list, \code{key} is passed down as anargument 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 ofcoefficients being compared, indicating where vertical lines shouldbe 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 differentrows per group, is generated, with a different panel for eachcoefficient. Different symbols (colors) are used for each object beingcompared.}\value{A Trellis \code{dotplot} of the values being compared, with rowsdetermined by the groups and panels by the coefficients.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{compareFits}}, \code{\link{pairs.compareFits}},\code{\link{dotplot}} }\examples{\dontrun{fm1 <- lmList(Orthodont)fm2 <- lme(Orthodont)plot(compareFits(coef(fm1), coef(fm2)))}}\keyword{models}