Visualize the partitions of simple decision trees, involving one or two predictors, on the scale of the original data. Provides an intuitive alternative to traditional tree diagrams, by visualizing how a decision tree divides the predictor space in a simple 2D plot alongside the original data. The 'parttree' package supports both classification and regression trees from 'rpart' and 'partykit', as well as trees produced by popular frontend systems like 'tidymodels' and 'mlr3'. Visualization methods are provided for both base R graphics and 'ggplot2'.
| Version: | 0.1.2 |
| Depends: | R (≥ 4.1.0) |
| Imports: | graphics, stats, data.table, partykit, rlang, rpart, tinyplot (≥ 0.3.0) |
| Suggests: | tinytest, tinysnapshot (≥ 0.0.3), fontquiver, rsvg, svglite (≥ 2.2.0), palmerpenguins, titanic, mlr3, parsnip, workflows, magick, imager, knitr, rmarkdown |
| Enhances: | ggplot2 (≥ 3.4.0) |
| Published: | 2026-01-15 |
| DOI: | 10.32614/CRAN.package.parttree |
| Author: | Grant McDermott |
| Maintainer: | Grant McDermott <gmcd at amazon.com> |
| BugReports: | https://github.com/grantmcdermott/parttree/issues |
| License: | MIT + file LICENSE |
| URL: | https://grantmcdermott.com/parttree/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | parttree results |
| Reference manual: | parttree.html , parttree.pdf |
| Vignettes: |
Abstract art with parttree and friends (source, R code) Introduction to parttree (source, R code) |
| Package source: | parttree_0.1.2.tar.gz |
| Windows binaries: | r-devel: parttree_0.1.2.zip, r-release: parttree_0.1.2.zip, r-oldrel: parttree_0.1.2.zip |
| macOS binaries: | r-release (arm64): parttree_0.1.2.tgz, r-oldrel (arm64): parttree_0.1.2.tgz, r-release (x86_64): parttree_0.1.2.tgz, r-oldrel (x86_64): parttree_0.1.2.tgz |
| Old sources: | parttree archive |
Please use the canonical form https://CRAN.R-project.org/package=parttree to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.