Learn R Programming

mrgsolve (version 1.5.2)

revar: Get model random effect variances and covariances

Description

Use this function to extract both OMEGA and SIGMA matrices from a model object. Typical use is for display on the R console.

Usage

revar(x, ...)

# S4 method for mrgmod revar(x, ...)

Value

A named list containing omega and sigma matrices.

Arguments

x

model object.

...

passed along.

Examples

Run this code
mod <- mrgsolve::house()
revar(mod)

Run the code above in your browser using DataLab