Learn R Programming

gremlin (version 0.1.0.1)

vech2matlist: Vector to list of matrices.

Description

Converts a vector of (co)variance parameters to a list of covariance matrices.

Usage

vech2matlist(vech, skeleton)

Arguments

vech

A vector of (co)variance parameters.

skeleton

An example structure to map vech onto.

Value

A list of matrices of the same structure as skeleton.