removes a series of nodes into a bn object

Share:

Description

(bn) Some of the nodes of a bn are removed. A condition is that no orphans must be generated.

Usage

1
rnd4bn(bn, ion)

Arguments

bn

The bn object to which some nodes will be removed.

ion

The nodes to remove, designated by their internal numbers or names.

Value

The modified bn

Examples

1
2
3
 rebastaba3k("RESET"); # (only for R checking)
 print(rnd4bn(rebastaba.bn1, 3));
 print(rnd4bn(rebastaba.bn1, 2:3));

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