children8bn: returns the direct children of a bn

Description Usage Arguments Value Examples

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

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 31, 2017, 3:26 a.m.

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