computes the /nbn/ changing its topological order

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.