Regression and classification trees (e.g. from packages like `partykit` or `rpart`) are a very powerful set of statistical learning algorithms. Nevertheless each tree package has its own way of representing and storing the trees, usually as a nested recursive list with attributes. This makes it very hard to interact with them. This package provides an interface to convert tree objects from various packages into a "tidy" data frame, with a row for each node showing its defining set of rules and its characteristics.
Package details |
|
---|---|
Maintainer | |
License | MIT + file LICENSE |
Version | 0.2.3 |
URL | https://github.com/bakaburg1/tidytrees |
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.