Learn R Programming

bnstruct (version 1.0.15)

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, ...)

# S4 method for InferenceEngine build.junction.tree(object, ...)

Arguments

object

an InferenceEngine object.

...

potential further arguments for methods.

See Also

InferenceEngine

Examples

Run this code
if (FALSE) {
dataset <- BNDataset("file.header", "file.data")
net <- BN(dataset)
eng <- InferenceEngine()
eng <- build.junction.tree(eng)
}

Run the code above in your browser using DataLab