Takes an rpart objects and returns three data frames or tibbles for use in displaying decision trees. The output is intended for use in ggplot but can be used in base R. The three data frames (or tibbles) are for nodes, connecting lines, and yes/no binary decision markers.
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.