print8bn: prints a bn object

Description Usage Arguments Details Value Examples

Description

(bn) prints different aspects of a bn object.

Usage

1
2
print8bn(x, ..., quoi="nv", qui=rbsb.cha0, comment="n", quoi.des="nd",
	  quoi.alk="d")

Arguments

x

The bn to be printed

...

Further arguments to be passed to the standard print function.

quoi

This character string indicates what must be printed. It can comprise:
"a" for all
"s" for standard
"D" for description of the bn
"t" for title
"n" for nodes
"P" for ascendants and descendants at the node level
"p" for ascendants and descendants at the variable level
"v" for variables
"d" for description of the nodes
"l" for definition of the links
"g" for generating fonction of each node

qui

The nodes which must be considered for the printing. rbsb.cha0 implies all nodes, if not either a character vector providing the nodes or a numeric vector with the iin (internal numbers of them). Using this argument is a way to modify the order of displaying the information about the nodes when printing. E.g. qui=length(x@nom):1 will present the node in decreasing order. No selection is (for the moment) possible at the variable level.

comment

This character string indicates how it must be printed. It can comprise:
"n": natural order based on @nom,
"a": alphabetical order on the node/variab

quoi.des

what to print when printing the bn description

quoi.alk

what to print when printing a node. Not used for the moment.

Details

When two incompatible specifications are ordered into "comment" argument, the used one is the first in the description list.
rbsb.mwi could be increased to see the parentship without limitation due to the line length.

Value

nothing but some printing is issued

Examples

1
2
 rebastaba3k("RESET"); # (only for R checking)
 print(rebastaba.bn2);

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