Package: parttree Title: Visualize Simple 2-D Decision Tree Partitions Version: 0.1.3 Date: 2026-03-30 Authors@R: c( person(given = "Grant", family = "McDermott", role = c("aut", "cre"), email = "contact@grantmcdermott.com", comment = c(ORCID = "0000-0001-7883-8573")), person(given = "Achim", family = "Zeileis", role = "ctb", email = "Achim.Zeileis@R-project.org", comment = c(ORCID = "0000-0003-0918-3766")), person(given = "Brian Heseung", family = "Kim", role = "ctb", email = "brhkim@gmail.com", comment = c(ORCID = "0000-0002-7988-1802")), person(given = "Julia", family = "Silge", role = "ctb", email = "julia.silge@gmail.com", comment = c(ORCID = "0000-0002-3671-836X"))) Description: 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'. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) URL: https://grantmcdermott.com/parttree/ BugReports: https://github.com/grantmcdermott/parttree/issues Imports: graphics, stats, data.table, partykit, rlang, rpart, tinyplot (>= 0.3.0) Enhances: ggplot2 (>= 3.4.0) Suggests: tinytest, tinysnapshot (>= 0.0.3), fontquiver, rsvg, svglite (>= 2.2.0), palmerpenguins, titanic, mlr3, parsnip, workflows, magick, imager, knitr, rmarkdown VignetteBuilder: knitr RoxygenNote: 7.3.3 Repository: https://grantmcdermott.r-universe.dev Date/Publication: 2026-03-31 15:57:50 UTC RemoteUrl: https://github.com/grantmcdermott/parttree RemoteRef: HEAD RemoteSha: 57786efd6026cfb7afbf1f4ecfe7835d81d4afc9 NeedsCompilation: no Packaged: 2026-06-06 09:05:13 UTC; root Author: Grant McDermott [aut, cre] (ORCID: ), Achim Zeileis [ctb] (ORCID: ), Brian Heseung Kim [ctb] (ORCID: ), Julia Silge [ctb] (ORCID: ) Maintainer: Grant McDermott Depends: R (>= 4.1.0)