Package: ROOT 0.2.0

Peter Liu
ROOT: Rashomon Set of Optimal Trees
Implements a general framework for globally optimizing user-specified objective functionals over interpretable binary weight functions represented as sparse decision trees, called ROOT (Rashomon Set of Optimal Trees). It searches over candidate trees to construct a Rashomon set of near-optimal solutions and derives a summary tree highlighting stable patterns in the optimized weights. ROOT includes a built-in generalizability mode for identifying subgroups in trial settings for transportability analyses (Parikh et al. (2025) <doi:10.1080/01621459.2025.2495319>).
Authors:
ROOT_0.2.0.tar.gz
ROOT_0.2.0.zip(r-4.7)ROOT_0.2.0.zip(r-4.6)ROOT_0.2.0.zip(r-4.5)
ROOT_0.2.0.tgz(r-4.6-any)ROOT_0.2.0.tgz(r-4.5-any)
ROOT_0.2.0.tar.gz(r-4.7-any)ROOT_0.2.0.tar.gz(r-4.6-any)
ROOT_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ROOT/json (API)
NEWS
| # Install 'ROOT' in R: |
| install.packages('ROOT', repos = c('https://peterliu599.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/peterliu599/root/issues
- diabetes_data - Simulated diabetes dataset for examples
Last updated from:d72adc8cb8. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 132 | ||
| source / vignettes | OK | 172 | ||
| linux-release-x86_64 | OK | 127 | ||
| macos-release-arm64 | OK | 117 | ||
| macos-oldrel-arm64 | OK | 99 | ||
| windows-devel | OK | 95 | ||
| windows-release | OK | 89 | ||
| windows-oldrel | OK | 82 | ||
| wasm-release | OK | 101 |
Exports:characterizing_underrepROOT
Dependencies:gbmlatticeMASSMatrixrpartrpart.plotsurvivalwithr
Generalizability Path Example: Characterizing Underrepresented Populations
Rendered fromgeneralizability_path_example.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2026-03-05
Started: 2026-01-22
Optimization Path Example: Portfolio Selection via Variance Minimization
Rendered fromoptimization_path_example.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2026-02-19
Started: 2026-01-22
Quickstart Guide to ROOT
Rendered fromquickstart.Rmdusingknitr::rmarkdownon May 25 2026.Last update: 2026-03-05
Started: 2026-01-22
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Characterize Underrepresented Subgroups | characterizing_underrep |
| Simulated diabetes dataset for examples | diabetes_data |
| Plot Underrepresented Population Characterization | plot.characterizing_underrep |
| Plot the ROOT summary tree | plot.ROOT |
| Print a characterizing_underrep fit | print.characterizing_underrep |
| Print a ROOT fit | print.ROOT |
| Rashomon Set of Optimal Trees (ROOT) for Functional Optimization | ROOT |
| Summarize a characterizing_underrep fit | summary.characterizing_underrep |
| Summarize a ROOT fit | summary.ROOT |