g4n2.arc-class: Class "arc" ~~~

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

Description

To define the structure (DAG) of a Bayesian network as its lower level (no names, only the arcs on the numbered nodes/variables.

Objects from the Class

Objects can be created by calls of the form new("arc",nbn=3,fle=matrix(c(1,2,2,3,100,100),2)).

Slots

nbn:

Object of class "numeric": number of nodes in the /bn/.

fle:

Object of class "matrix": a matrix indicating the arcs of the /bn/, each row defines an arc (parent node, child node, arc decoration).

Methods

print

see print8arc for the details.

Note

~~further notes~~

Author(s)

J.-B. Denis

Examples

1
showClass("arc")

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

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