chain2pre: computes the precision of a chain

View source: R/f02.chain.code.r

chain2preR Documentation

computes the precision of a chain

Description

returns the precision matrix of a chain, that is the inverse of its variance (correlation) matrix. Much better to use this function that solve(chain2mn(chain)$gamma) since exact formulae are applied.

Usage

chain2pre(chain, corre=FALSE)

Arguments

chain

The chain object to consider.

corre

To get the inverse of the correlation matrix instead of.

Value

A dimnamed matrix

Examples

 chain2pre(rbmn0chain.02);

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