Description Objects from the Class Slots Methods Author(s) Examples
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 can be created by calls of the form new("nod",name="myobject",...)
.
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).
see print8nod
for the details.
Jean-Baptiste Denis
1 | showClass("nod");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.