nbn2nbn: computes the /nbn/ changing its topological order

Description Usage Arguments Details Value Examples

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

Description

returns the proposed /nbn/ with a new topological order without modifying the joint distribution of all variables.
This allows to directly find regression formulae within the Gaussian Bayesian networks.

Usage

1
nbn2nbn(nbn, norder)

Arguments

nbn

The /nbn/ to transform.

norder

The topological order to follow. It can be indicated by names or numbers. When not all nodes are included, the resulting /nbn/ is restricted to these nodes after marginalization.

Details

BE aware that for the moment, no check is made about the topological order and if it is not, the result is FALSE!

Value

The resulting /nbn/.

Examples

1
2
3
4
5

rbmn documentation built on May 29, 2017, 4:58 p.m.