powered by
This code is modified from the original plot.rpart in package rpart.
rpart_labels(x)
a list with two elements: $labels and $leaf_labels
Original author Brian Ripley
ggdendrogram()
Other dendro_data methods: dendro_data(), dendro_data.rpart(), dendro_data.tree(), dendrogram_data()
dendro_data()
dendro_data.rpart()
dendro_data.tree()
dendrogram_data()
Other rpart functions: dendro_data.rpart(), rpart_segments()
rpart_segments()