Plots individual trees.

plotSingleTree(trees, iter = 1, treeNo = 1, plotType = "icicle")

Arguments

trees

A data frame created by extractTreeData function

iter

The MCMC iteration or chain to plot.

treeNo

The tree number to plot.

plotType

What type of plot to display. either dendrogram or icicle.

Value

A plot of an individual tree

Examples

if (FALSE) {
df_trees <- extractTreeData(model = my_model, data = my_data)
plotSingleTree(trees = df_trees, treeNo = 1, iter = 1, plotType = "icicle")
}