vcov.LmME {tramME} | R Documentation |
Get the variance-covariance matrix of the parameters of an LmME model
Description
Get the variance-covariance matrix of the parameters of an LmME model
Usage
## S3 method for class 'LmME'
vcov(
object,
as.lm = FALSE,
parm = NULL,
pargroup = c("all", "fixef", "ranef"),
...
)
Arguments
object |
A fitted |
as.lm |
If |
parm |
Names of the parameters to extract. |
pargroup |
The name of the parameter group to extract. With
|
... |
Optional parameters passed to |
Value
A numeric covariance matrix.
Examples
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
vcov(fit) ## transformation model parameterization
vcov(fit, as.lm = TRUE) ## LMM parameterization
vcov(fit, as.lm = TRUE, pargroup = "fixef") ## cov of fixed effects
[Package tramME version 1.0.6 Index]