state4chain: returns the states of each node of a chain

Description Usage Arguments Value Examples

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

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

1
state4chain(chain)

Arguments

chain

the chain object to be considered.

Value

a character of the states named with node names.

Examples

1
2

rbmn documentation built on May 29, 2017, 4:58 p.m.