vec2cov: Transform a vector into a matrix

View source: R/vec2cov.R

vec2covR Documentation

Transform a vector into a matrix

Description

Transform a vector into a matrix i.e., Sigma=R^T*R

Usage

vec2cov(par)

Arguments

par

A vector representing a variance matrix

Details

The variance matrix is decomposed by computing the Choleski factorization of a real symmetric positive-definite square matrix. Then, storing the upper triangular factor of the Choleski decomposition into a vector.

Value

sigma A variance matrix


gmmsslm documentation built on June 8, 2025, 2 p.m.

Related to vec2cov in gmmsslm...