vcov.LmME {tramME} | R Documentation |
pargroup = "baseline"
is not available for LmME
objects.
## S3 method for class 'LmME' vcov( object, as.lm = FALSE, parm = NULL, pargroup = c("all", "fixef", "shift", "baseline", "ranef"), pmatch = FALSE, ... )
object |
A fitted LmME object. |
as.lm |
If TRUE, return the covariance matrix of the transformed
parameters as in a |
parm |
The indeces or names of the parameters of interest. See in details. |
pargroup |
fixef: fixed-effects, shift: shift parameters, all: fixed effects and variance component parameters, baseline: parameters of the baseline transformation function, ranef: variance components parameters. |
pmatch |
Logical. If |
... |
Optional arguments |
A numeric covariance matrix.
data("sleepstudy", package = "lme4") fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) vcov(fit) ## transformation model parametrization vcov(fit, as.lm = TRUE) ## LMM parametrization ## cov of coefficient AND other terms with 'Days' in names vcov(fit, as.lm = TRUE, parm = "Days", pmatch = TRUE) vcov(fit, as.lm = TRUE, parm = "^Days", pmatch = TRUE) ## var of coefficient only vcov(fit, as.lm = TRUE, pargroup = "fixef") ## cov of fixed effects