VarCorr.tramME | R Documentation |
This function calculates the variances and correlations from varcov.tramME
.
## S3 method for class 'tramME'
VarCorr(x, ...)
x |
A |
... |
optional arguments (for consistency with the generic method) |
The function only returns the correlation matrices that belong to actual random effects
(defined for groups in the data) and ignores the random effects parameters of the smooth
shift terms. To extract these, the user should use varcov
with full = TRUE
.
A list of vectors with variances and correlation matrices corresponding to the various grouping variables.
data("sleepstudy", package = "lme4")
fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
VarCorr(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.