Learn R Programming

rbmn (version 0.9-6)

chain2pre: 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)

Value

A dimnamed matrix

Arguments

chain

The chain object to consider.

corre

To get the inverse of the correlation matrix instead of.

Examples

Run this code
 chain2pre(rbmn0chain.02);

Run the code above in your browser using DataLab