Movatterモバイル変換


[0]ホーム

URL:


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

Version:0.1.1
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:2025-05-10
DOI:10.32614/CRAN.package.parttree
Author:Grant McDermottORCID iD [aut, cre], Achim ZeileisORCID iD [ctb], Brian Heseung KimORCID iD [ctb], Julia SilgeORCID iD [ctb]
Maintainer:Grant McDermott <gmcd at amazon.com>
BugReports:https://github.com/grantmcdermott/parttree/issues
License:MIT + fileLICENSE
URL:https://grantmcdermott.com/parttree/
NeedsCompilation:no
Materials:README,NEWS
CRAN checks:parttree results

Documentation:

Reference manual:parttree.html ,parttree.pdf
Vignettes:Abstract art with parttree and friends (source,R code)
Introduction to parttree (source,R code)

Downloads:

Package source: parttree_0.1.1.tar.gz
Windows binaries: r-devel:parttree_0.1.1.zip, r-release:parttree_0.1.1.zip, r-oldrel:parttree_0.1.1.zip
macOS binaries: r-release (arm64):parttree_0.1.1.tgz, r-oldrel (arm64):parttree_0.1.1.tgz, r-release (x86_64):parttree_0.1.1.tgz, r-oldrel (x86_64):parttree_0.1.1.tgz
Old sources: parttree archive

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=parttreeto link to this page.


[8]ページ先頭

©2009-2025 Movatter.jp