Description Objects from the Class Slots Methods Note Author(s) Examples
To define the structure (DAG) of a Bayesian network as its lower level (no names, only the arcs on the numbered nodes/variables.
Objects can be created by calls of the form new("arc",nbn=3,fle=matrix(c(1,2,2,3,100,100),2))
.
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).
see print8arc
for the details.
~~further notes~~
J.-B. Denis
1 | showClass("arc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.