Learn R Programming

bnstruct (version 1.0.6)

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
# NOT RUN {
dataset <- BNDataset("file.header", "file.data")
net <- BN(dataset)
eng <- InferenceEngine()
eng <- build.junction.tree(eng)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab