returns the direct children of a bn

Share:

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

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