g4n2.gn-class: Class for graphs associated to Bayesian networks

Description Objects from the Class Slots Methods Author(s) Examples

Description

Rebastaba object describing directed graphs. These are usually associated to DAGs of some Bayesian network but the constraint of no cycle is not applied.

Objects from the Class

Objects can be created by calls of the form new("gn", ...). See the descriptions for the slots below.

Slots

description:

Object of class "des" Just the description identifying the object.

nom:

Object of class "nom" To define the node names (and variables names) associated to the items of the /gn/.

item:

Object of class "character" Either n or y to indicate which level was choosen (nodes or variables).

pos:

Object of class "pos" The position of the node into $R^3$ by means of a four column matrix. As many rows as items. The first three columns for the positions and the last one for the decoration style of nodes.

arc:

Object of class "arc" The relationships between items (see the description of the class for details.

pgr:

Object of class "pgr" Formatting parameters for the plotting of the /gn/.

Methods

print

see print8gn for the details.

plot

see plot8gn for the details.

Author(s)

J.-B. Denis

Examples

1
showClass("gn")

g4n documentation built on May 2, 2019, 5:47 p.m.

Related to g4n2.gn-class in g4n...