nbn2rr: computes standard matrices from a /nbn/

View source: R/f04.nbneq.code.r

nbn2rrR Documentation

computes standard matrices from a /nbn/

Description

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.

Usage

nbn2rr(nbn)

Arguments

nbn

nbn object.

Value

the resulting list with the three components: mm, ss and rr.

Examples

 nbn2rr(rbmn0nbn.01);

rbmn documentation built on April 7, 2022, 9:05 a.m.