Crandore Hub

parttree

Visualize Simple 2-D Decision Tree Partitions

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'.

Versions across snapshots

VersionRepositoryFileSize
0.1.3 rolling linux/jammy R-4.5 parttree_0.1.3.tar.gz 952.2 KiB
0.1.3 rolling linux/noble R-4.5 parttree_0.1.3.tar.gz 952.1 KiB
0.1.3 rolling source/ R- parttree_0.1.3.tar.gz 911.6 KiB
0.1.3 latest linux/jammy R-4.5 parttree_0.1.3.tar.gz 952.2 KiB
0.1.3 latest linux/noble R-4.5 parttree_0.1.3.tar.gz 952.1 KiB
0.1.3 latest source/ R- parttree_0.1.3.tar.gz 911.6 KiB
0.1.3 2026-04-26 source/ R- parttree_0.1.3.tar.gz 911.6 KiB
0.1.3 2026-04-23 source/ R- parttree_0.1.3.tar.gz 911.6 KiB
0.1.3 2026-04-09 windows/windows R-4.5 parttree_0.1.3.zip 959.2 KiB
0.1.0 2025-04-20 source/ R- parttree_0.1.0.tar.gz 731.5 KiB

Dependencies (latest)

Enhances

Imports

Suggests