rnd4bn: removes a series of nodes into a bn object

Description Usage Arguments Value Examples

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

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 21, 2017, 1:22 a.m.

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