varcov.LmME {tramME} | R Documentation |
Extract the variance-covariance matrix of the random effects of an LmME model
Description
Extract the variance-covariance matrix of the random effects of an LmME model
Usage
## S3 method for class 'LmME'
varcov(object, as.lm = FALSE, as.theta = FALSE, full = FALSE, ...)
Arguments
object |
A |
as.lm |
If |
as.theta |
Logical value, if |
full |
Logical value; if |
... |
Optional arguments (unused). |
Value
A list of the covariance matrices or a vector of theta values.
Examples
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
varcov(fit, as.lm = TRUE)
varcov(fit, as.theta = TRUE, as.lm = TRUE)
[Package tramME version 1.0.6 Index]