Make Variance and Correlation Matrices from theta

Share:

Description

Make variance and correlation matrices from theta

Usage

1
mkVarCorr(sc, cnms, nc, theta, nms)

Arguments

sc

scale factor (residual standard deviation).

cnms

component names.

nc

numeric vector: number of terms in each RE component.

theta

theta vector (lower-triangle of Cholesky factors).

nms

component names (FIXME: nms/cnms redundant: nms=names(cnms)?)

Value

A matrix

See Also

VarCorr

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.