children8bn: returns the direct children of a bn

Description Usage Arguments Value Examples

Description

(bn) Returns the children of all nodes or all variables of 'bn'.

Usage

1
children8bn(bn, of="n")

Arguments

bn

the bn object.

of

'n' of the nodes; 'v' of the variables.

Value

A list of character vectors containing the names of the children, each component of the list is associate to an item (node or variable).

Examples

1
2
3
 rebastaba3k("RESET"); # (only for R checking)
 children8bn(rebastaba.bn3, "n");
 children8bn(rebastaba.bn3, "v");

rebastaba documentation built on May 2, 2019, 5:24 p.m.