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


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.