Rev 7190 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/nlmeObject.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{nlmeObject}\title{Fitted nlme Object}\alias{nlmeObject}\description{An object returned by the \code{\link{nlme}} function, inheriting from class\code{"nlme"}, also inheriting from class \code{"lme"}, and representing afitted nonlinear mixed-effects model. Objects of this class havemethods for the generic functions \code{anova}, \code{coef},\code{fitted}, \code{fixed.effects}, \code{formula}, \code{getGroups},\code{getResponse}, \code{intervals}, \code{logLik}, \code{pairs},\code{plot}, \code{predict}, \code{print}, \code{random.effects},\code{residuals}, \code{summary}, and \code{update}.}\value{The following components must be included in a legitimate \code{"nlme"}object.\item{apVar}{an approximate covariance matrix for thevariance-covariance coefficients. If \code{apVar = FALSE} in thecontrol values used in the call to \code{nlme}, this component is\code{NULL}.}\item{call}{a list containing an image of the \code{nlme} call thatproduced the object.}\item{coefficients}{a list with two components, \code{fixed} and\code{random}, where the first is a vector containing the estimatedfixed effects and the second is a list of matrices with the estimatedrandom effects for each level of grouping. For each matrix in the\code{random} list, the columns refer to the random effects and therows to the groups.}\item{contrasts}{a list of the contrast matrices used to represent factorsin the fixed effects formula and/or random effects formula. Thisinformation is important for making predictions from a new dataframe in which not all levels of the original factors areobserved. If no factors are used in the nlme model, this componentwill be an empty list.}\item{dims}{a list with basic dimensions used in the nlme fit,including the components \code{N} - the number of observations inthe data, \code{Q} - the number of grouping levels, \code{qvec} -the number of random effects at each level from innermost tooutermost (last two values are equal to zero and correspond to thefixed effects and the response), \code{ngrps} - the number of groupsat each level from innermost to outermost (last two values are oneand correspond to the fixed effects and the response), and\code{ncol} - the number of columns in the model matrix for eachlevel of grouping from innermost to outermost (last two values areequal to the number of fixed effects and one).}\item{fitted}{a data frame with the fitted values as columns. Theleftmost column corresponds to the population fixed effects(corresponding to the fixed effects only) and successive columnsfrom left to right correspond to increasing levels of grouping.}\item{fixDF}{a list with components \code{X} and \code{terms}specifying the denominator degrees of freedom for, respectively,t-tests for the individual fixed effects and F-tests for thefixed-effects terms in the models.}\item{groups}{a data frame with the grouping factors ascolumns. The grouping level increases from left to right.}\item{logLik}{the (restricted) log-likelihood at convergence.}\item{map}{a list with components \code{fmap}, \code{rmap},\code{rmapRel}, and \code{bmap}, specifying various mappings for thefixed and random effects, used to generate predictions from thefitted object.}\item{method}{the estimation method: either \code{"ML"} for maximumlikelihood, or \code{"REML"} for restricted maximum likelihood.}\item{modelStruct}{an object inheriting from class \code{nlmeStruct},representing a list of mixed-effects model components, suchas \code{reStruct}, \code{corStruct}, and \code{varFunc} objects.}\item{numIter}{the number of iterations used in the iterativealgorithm.}\item{residuals}{a data frame with the residuals as columns. Theleftmost column corresponds to the population residualsand successive columns from left to right correspond to increasinglevels of grouping.}\item{sigma}{the estimated within-group error standard deviation.}\item{varFix}{an approximate covariance matrix of thefixed effects estimates.}}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{nlme}}, \code{nlmeStruct}}\keyword{models}