Extract labels data frame from tree object for plotting using ggplot.
object of class "tree", e.g. the output of tree()
a list with two elements: $labels and $leaf_labels
Code modified from original by Brian Ripley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.