prr.nod-class: Class /nod/ to specify the different nodes of a chain

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

Description

Objects of class /nod/ gives the possibility to store in a standardized way, all pieces of information about a node. This a basic object. Contrary to /rebastaba/ package, all nodes are supposed associated to continuous (numeric) random variables.

Objects from the Class

Objects can be created by calls of the form new("nod",name="myobject",...).

Slots

name:

Object of class "character(1)" giving the name of the node.

probab:

Object of class "probab" giving the essential characteristics of the node distribution. See the series of prr.probab? objects for examples.

assess:

Object of class "assess" giving the three values assessed by the expert: x,cV,cU. The last two ones are numeric(1) and must be comprised between 0 and 100. The first one is character(1) since either a numeric value or a character expression can be involved. The character expression is necessary to indicate relationship with other nodes. For instance 1+{{A}}*{{B}} will indicate that the value to give to the node for x is the the product of the values of node A and B summed to one. Examples of /assess/ are given by the objects prr.assess?.

format:

Object of class "character(3)" giving the format to apply when computing the three subnode of that node, respectively to x,m,CV; more precisely, it is the number of decimals to be kept, and for the two last if they must be stored (a negative value indicates that not).

Methods

print:

see print8nod for the details.

Author(s)

Jean-Baptiste Denis

Examples

1
showClass("nod");

prr documentation built on May 2, 2019, 6:35 p.m.

Related to prr.nod-class in prr...