Learn R Programming

BayesNetBP (version 1.2.1)

PlotTree: Plot the cluster tree

Description

Plot the structure of a object

Usage

PlotTree(tree, color = "gray90")

Arguments

tree

a object

color

nodes color

Details

Plot the structure of clustertree object, with the nodes labeled by corresponding elimination node. The circles represent continuous clusters, while the boxes represent discrete clusters.

References

Cowell, R. G. (2005). Local propagation in conditional Gaussian Bayesian networks. Journal of Machine Learning Research, 6(Sep), 1517-1550.

Examples

Run this code
data(toytree)
PlotTree(toytree)

Run the code above in your browser using DataLab