# mkVarCorr

From lme4 v1.1-21
by Ben Bolker

##### Make Variance and Correlation Matrices from `theta`

Make variance and correlation matrices from `theta`

##### Usage

`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

*Documentation reproduced from package lme4, version 1.1-21, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.