This code is modified from the original plot.rpart in package rpart.
object of class "rpart", e.g. the output of rpart()
a list with two elements: $labels and $leaf_labels
Original author Brian Ripley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.