https://github.com/cran/Matrix
Raw File
Tip revision: 153024a3423cec0811deb28b9271ab0b3d043fa0 authored by Douglas Bates on 12 December 2005, 00:00:00 UTC
version 0.99-3
Tip revision: 153024a
VarCorr.Rd
\name{VarCorr}
\docType{genericFunction}
\alias{VarCorr}
\title{Extract variance and correlation components}
\usage{
VarCorr(x, \dots)
}
\arguments{
  \item{x}{a fitted model object, usually an object inheriting from
    class \code{lmer}.
  }
  \item{\dots}{Additional, optional arguments for some methods.  At
    present none are used.}
}
\description{
  Extract the estimated variances, standard
  deviations, and correlations of the random-effects terms in a
  linear mixed-effects model, of class \code{lme}, or a generalized
  linear mixed-effects model. When appropriate,
  the within-group error variance and standard deviation are also
  calculated.
}
\value{
  an object of class \code{VarCorr}.
}
\seealso{\code{\link{lmer}}, \code{\link{VarCorr-class}}}
\examples{
(fm2 <- lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy))
VarCorr(fm2)
}
\keyword{models}
back to top