Learn R Programming

rbmn (version 0.9-6)

nbn2rr: 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)

Value

the resulting list with the three components: mm, ss

and rr.

Arguments

nbn

nbn object.

Examples

Run this code
 nbn2rr(rbmn0nbn.01);

Run the code above in your browser using DataLab