Learn R Programming

tramME (version 0.0.1)

VarCorr.tramME: Variances and correlation matrices of random effects

Description

This function calculates the variances and correlations from varcov.tramME.

Usage

# S3 method for tramME
VarCorr(x, ...)

Arguments

x

A tramME object

...

optional arguments (for consistency with the generic method)

Value

A list of vectors with variances and correlation matrices corresponding to the various grouping variables.

Examples

Run this code
# NOT RUN {
data("sleepstudy", package = "lme4")
fit <- BoxCoxME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
VarCorr(fit)
# }

Run the code above in your browser using DataLab