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 details |
|
---|---|
Maintainer | |
License | GPL-3 |
Version | 0.1 |
URL | https://github.com/markravina/rpart2tidy |
Package repository | View on GitHub |
Installation |
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.