chain2mn: computes the distribution of a chain

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

chain2mnR Documentation

computes the distribution of a chain

Description

returns the /mn/ object associated to a /chain/ object. Much better to use this function that the general function nbn2mn since exact formulae are applied.

Usage

chain2mn(chain, order=TRUE)

Arguments

chain

The chain object to consider.

order

Must a topological order be imposed?

Value

The resulting /mn/ object. Following the convention of mn objects, a topological order is given to it. This is necessary to retrieve the associate /nbn/.

Examples

 print8mn(chain2mn(rbmn0chain.01));

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