rsbn.bn-class: Class for Bayesian Networks

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

Description

rebastaba objects describing Bayesian networks with a great variety of nodes and distributions.

Objects from the Class

Objects can be created by calls of the form new("bn", ...). See the slot definitions below.

Slots

description:

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

nom:

Object of class "nom" defines the node names (and variables names) associated to the items of the /bn/.

ntype:

Object of class "character" defines the different node types of the /bn/.

ndes:

Object of class "list" provides the descriptions of every node.

npara:

Object of class "list" contains the parameter definitions for each node

nrep:

Object of class "numeric" numbers of repetitions of the nodes (0 means no repetition).

ntransfo:

Object of class "character" The definition of the transformation to apply to all variates of each node.

ndaf:

Object of class "list" contains the definition of the associated data frame to the node if any.

nwin:

Object of class "list" contains the definition of the associated window for empirical drawing to the node if any.

nfun:

Object of class "list" if necessary.

nfug:

Object of class "list" contains the generated function (computed by rebastaba) to the nodes

vnat:

Object of class "character" natures of all variates of the /bn/.

vpod:

Object of class "list" possible domains for all variates of the /bn/.

vred:

Object of class "list" representation domains for all variates of the /bn/.

vcod:

Object of class "list" common domains for all variates of the /bn/.

vparent:

Object of class "list" parents of each variate of the /bn/.

Methods

print

see print8bn for the details.

plot

see plot8bn for the details.

Author(s)

J.-B. Denis

Examples

1
showClass("bn")

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