state4chain {rbmn}R Documentation

returns the states of each node of a chain

Description

From a chain object returns a named character precising the role of each node: "r" for root, "c" for collider, "t" for transmitter and "l" for leaf.

Usage

state4chain(chain)

Arguments

chain

the chain object to be considered.

Value

a character of the states named with node names.

Examples

 state4chain(rbmn0chain.01);
 state4chain(rbmn0chain.03);

[Package rbmn version 0.9-6 Index]