Learn R Programming

rbmn (version 0.9-6)

nbn2gema: computes a /gema/ from a /nbn/

Description

from a /nbn/ object defining a normal Bayesian network, computes the vector mu and the matrix li such that if the vector E is a vector of i.i.d. centred and standardized normal, then mu + li * E has the same distribution as the input /nbn/.

Usage

nbn2gema(nbn)

Value

a list with the two following components: mu and li.

Arguments

nbn

nbn object for which the generating matrices.

Examples

Run this code
 identical(nbn2gema(rbmn0nbn.02), rbmn0gema.02);

Run the code above in your browser using DataLab