VarCorr.LmME {tramME} | R Documentation |
The returned parameters are the transformed versions of the original parameters, and correspond to the normal linear mixed model parametrization.
## S3 method for class 'LmME' VarCorr(x, sigma = 1, as.lm = FALSE, ...)
x |
An LmME object. |
sigma |
Standard deviation of the error term in the LMM parametrization (should not be set manually, only for consistency with the generic method) |
as.lm |
If TRUE, return the variances and correlations that correspond to
a normal linear mixed model (i.e. |
... |
Optional arguments (for consistency with generic) |
A list of vectors with variances and correlation matrices corresponding to the various grouping variables.
data("sleepstudy", package = "lme4") fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) VarCorr(fit) ## tranformation model parametrization VarCorr(fit, as.lm = TRUE) ## LMM parametrization