tree_labels: Extract labels data frame from tree object for plotting using ggplot.
Description
Extract labels data frame from tree object for plotting using ggplot.
Usage
tree_labels(model, uniform, ...)
Arguments
model
object of class "tree", e.g. the output of tree()
Value
a list with two elements: $labels and $leaf_labels