Learn R Programming

bnstruct (version 1.0)

build.junction.tree: build a JunctionTree.

Description

Starting from the adjacency matrix of the directed acyclic graph of the network contained in an InferenceEngine, build a JunctionTree for the network and store it into an InferenceEngine.

Usage

build.junction.tree(object, ...)
"build.junction.tree"(object, ...)

Arguments

object
an InferenceEngine object.
...
potential further arguments for methods.

See Also

InferenceEngine

Examples

Run this code
## Not run: 
# dataset <- BNDataset("file.header", "file.data")
# net <- BN(dataset)
# eng <- InferenceEngine()
# eng <- build.junction.tree(eng)
# ## End(Not run)

Run the code above in your browser using DataLab