Mark Ravina 5/30/2019
This package converts the data for decision trees generated by rpart into tibbles for use in ggplot. The rpart and partykit packages have many plotting options, but they are unique to those packages. By combining rpart2tidy and ggplot you can easily get consistent design across plots, using familiar arguments such as geom_label and geom_segment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.