Computes from reCovs the variance and correlation components of
random effect covariance matrices.
mkVarCorr(sc, cnms, nc = lengths(cnms, use.names = FALSE),
theta, nms = names(cnms), reCovs = NULL, relReCovs = TRUE)A list of matrices.
a numeric vector of length 1 giving the residual standard
deviation for LMMs. Set to NULL for GLMMs.
a list of character vectors giving component dimnames,
used only to determine nc and nms if those are
missing.
an integer vector giving component dimensions (number of columns).
a numeric vector giving covariance parameters
(lower triangular entries of relative Cholesky factors in
column-major order), used only to determine reCovs when
that is missing.
a character vector giving component names.
a list of Covariance objects.
a logical indicating if the components of
reCovs represent relative covariance matrices (in which case
they are scaled by sc^2).
VarCorr.