Learn R Programming

BayesNetBP (version 1.0.1)

PlotTree: Plot the cluster tree

Description

Plot the structure of a clustertree object

Usage

PlotTree(tree, color = "gray90")

Arguments

tree

a clustertree 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.

See Also

clustertree

Examples

Run this code
data(toytree)
PlotTree(toytree)

Run the code above in your browser using DataLab