chain2pre {rbmn} | R 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);
[Package rbmn version 0.9-6 Index]