Learn R Programming

MSTest (version 0.1.5)

covar_unvech: Covariance vech to matrix

Description

This function undoes the half-vectorization of a covariance matrix.

Usage

covar_unvech(sig, n)

Value

A (n x n) covariance matrix.

Arguments

sig

A (n+1)*n/2 vector.

n

Integer determining shape of the original matrix.