chain2pre: computes the precision of a chain

Description Usage Arguments Value Examples

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

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

1
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

1

rbmn documentation built on Jan. 16, 2021, 5:31 p.m.