View source: R/f04.nbneq.code.r
nbn2rr | R Documentation |
from a /nbn/ object defining a normal Bayesian network, returns a
list comprising (i) mm
the vector of the mean of the different
nodes when the parents are nought, (ii) ss
the vector of the
conditional standard deviations and (iii) rr
the matrix of the
regression coefficients of the direct parents (rr[i,j]
contains the regression coefficient of the node j
for its
parents i
or zero when i
is not a parent of j
.
nbn2rr(nbn)
nbn |
|
the resulting list with the three components: mm
, ss
and rr
.
nbn2rr(rbmn0nbn.01);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.