var2pre: returns the precision matrix from the variance

View source: R/f07.normal.code.r

var2preR Documentation

returns the precision matrix from the variance

Description

returns the precision matrix from the variance preserving possible variable names

Usage

var2pre(ma)

Arguments

ma

The variance matrix.

Details

Non full rank matrices are accepted, a generalized inverse is returned and a warning is issued.

Value

The precision matrix

Examples

 var2pre(rbmn0mn.04$gamma);

rbmn documentation built on July 9, 2023, 6:37 p.m.