Learn R Programming

rbmn (version 0.9-6)

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

Value

a character of the states named with node names.

Arguments

chain

the chain object to be considered.

Examples

Run this code
 state4chain(rbmn0chain.01);
 state4chain(rbmn0chain.03);

Run the code above in your browser using DataLab