The primary function is omat that can be used to both get the $OMEGA matrices out of a model object and to update $OMEGA matrices in a model object.

omat(.x, ...)

# S4 method for missing
omat(.x, ...)

# S4 method for matrix
omat(.x, ..., labels = list())

# S4 method for `NULL`
omat(.x, ...)

# S4 method for list
omat(.x, ...)

# S4 method for omegalist
omat(.x, ...)

# S4 method for mrgmod
omat(.x, ..., make = FALSE, open = FALSE)

# S4 method for mrgsims
omat(.x, make = FALSE, ...)

Arguments

.x

a matrix, list of matrices or matlist object

...

passed to other functions, including modMATRIX

labels

character vector of names for $OMEGA elements; must be equal to number of rows/columns in the matrix

make

logical; if TRUE, matrix list is rendered into a single matrix

open

passed to merge.list

x

matlist object

Examples