rnd4bn: removes a series of nodes into a bn object

Description Usage Arguments Value Examples

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

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

Related to rnd4bn in rebastaba...