symbolizes the kind of nodes

Description

(bn) A character vector is returned giving for each node designated in 'kn', the number of parents and number of children.

Usage

1
form3nd(bn, kn=bc(nbnv(bn)))

Arguments

bn

The original bn (to get the genealogy).

kn

indicates the nodes to specify (numeric vector)

Details

Description of the symbols:
" (\#) " : isolated node
" ->(\#) " : leaf node with one parent
"3=>(\#) " : leaf node with three parents
" ->(\#)-> " : transmitter node
"2=>(\#)=>2" : two-parents two-children node
where '\#' stands for the node name.

Value

The resulting named vector of symbols

Examples

1
2
3
 rebastaba3k("RESET"); # (only for R checking)
 form3nd(rebastaba.bn1, 1);
 form3nd(rebastaba.bn1);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.