vcov.tramME | R Documentation |
Extracts the covariance matrix of the selected parameters. The returned values are on the same scale as the estimated parameter values, i.e. the standard deviations of the random effect terms are on log scale.
## S3 method for class 'tramME'
vcov(
object,
parm = NULL,
pargroup = c("all", "fixef", "shift", "baseline", "ranef", "smooth"),
pmatch = FALSE,
...
)
object |
A fitted tramME object. |
parm |
The names of the parameters of interest. See in details. |
pargroup |
The name of the parameter group to return:
|
pmatch |
Logical. If |
... |
Optional arguments passed to |
Access to variances and covariances of penalized parameters is currently
provided by the parm
argument. Parameter names must be consistent
with names in object$param
.
A numeric covariance matrix.
data("sleepstudy", package = "lme4")
fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy, order = 10)
vcov(fit)
vcov(fit, pargroup = "ranef")
vcov(fit, pargroup = "baseline")
vcov(fit, parm = "Reaction") ## same as previous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.