form3nd: symbolizes the kind of nodes

Description Usage Arguments Details Value Examples

View source: R/f1.rsbn.code.r

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);

rebastaba documentation built on May 21, 2017, 1:22 a.m.

Search within the rebastaba package
Search all R packages, documentation and source code