nbn2gema {rbmn}R Documentation

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)

Arguments

nbn

nbn object for which the generating matrices.

Value

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

Examples

 identical(nbn2gema(rbmn0nbn.02), rbmn0gema.02);

[Package rbmn version 0.9-6 Index]