Implements statistical methods for exploratory subgroup identification in clinical trials. Provides tools for identifying patient subgroups with differential treatment effects using machine learning approaches including Generalized Random Forests (GRF), LASSO regularization, and exhaustive combinatorial search algorithms. Supports survival endpoints (Cox proportional hazards), binary outcomes (log odds ratio, log relative risk, risk difference), continuous outcomes (mean difference), and count / rate outcomes (log incidence rate ratio via Poisson, quasi-Poisson, or negative-binomial GLMs with optional person-time offset). Features bootstrap bias correction using infinitesimal jackknife methods to address selection bias in post-hoc analyses. Designed for clinical researchers conducting exploratory subgroup analyses in randomized controlled trials, particularly for multi-regional clinical trials (MRCT) requiring regional consistency evaluation. Methods are described in Leon et al. (2024) <doi:10.1002/sim.10163>. Post-selection inference for the identified subgroup follows León and Anderson (2026) <doi:10.48550/arXiv.2609.38361>.
| Version: | 0.4.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | data.table, doFuture, dplyr, foreach, future, future.apply, future.callr, ggplot2, glmnet (≥ 5.0), grf, gt, Matrix, mvtnorm, parallel, patchwork, policytree, progressr, randomForest, rlang, stats, survival, utils, weightedsurv (≥ 0.1.0) |
| Suggests: | DiagrammeR, doRNG, htmltools, MASS, sandwich, tidyr, forestploter, cubature, svglite, knitr, rmarkdown, katex, latentcor, quarto, testthat (≥ 3.0.0) |
| Published: | 2026-10-10 |
| DOI: | 10.32614/CRAN.package.forestsearch |
| Author: | Larry Leon [aut, cre] |
| Maintainer: | Larry Leon <larry.leon.05 at post.harvard.edu> |
| BugReports: | https://github.com/larry-leon/forestsearch/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/larry-leon/forestsearch, https://larry-leon.github.io/forestsearch/ |
| NeedsCompilation: | no |
| SystemRequirements: | Quarto command line tools (https://github.com/quarto-dev/quarto-cli) |
| Materials: | README, NEWS |
| CRAN checks: | forestsearch results |
| Reference manual: | forestsearch.html , forestsearch.pdf |
| Vignettes: |
Exploratory Subgroup Identification with ForestSearch (source, R code) Post-selection inference for an identified survival subgroup (source, R code) |
| Package source: | forestsearch_0.4.0.tar.gz |
| Windows binaries: | r-devel: forestsearch_0.1.0.zip, r-release: forestsearch_0.1.0.zip, r-oldrel: forestsearch_0.1.0.zip |
| macOS binaries: | r-release (arm64): forestsearch_0.4.0.tgz, r-oldrel (arm64): forestsearch_0.4.0.tgz, r-release (x86_64): forestsearch_0.4.0.tgz, r-oldrel (x86_64): forestsearch_0.4.0.tgz |
| Old sources: | forestsearch archive |
Please use the canonical form https://CRAN.R-project.org/package=forestsearch to link to this page.