Implementation of the unity forest (UFO) framework (Hornung & Hapfelmeier, 2026, <doi:10.48550/arXiv.2601.07003>). UFOs are a random forest variant designed to better take covariates with purely interaction-based effects into account, including interactions for which none of the involved covariates exhibits a marginal effect. While this framework tends to improve discrimination and predictive accuracy compared to standard random forests, it also facilitates the identification and interpretation of (marginal or interactive) effects: In addition to the UFO algorithm for tree construction, the package includes the unity variable importance measure (unity VIM), which quantifies covariate effects under the conditions in which they are strongest - either marginally or within subgroups defined by interactions - as well as covariate-representative tree roots (CRTRs) that provide interpretable visualizations of these conditions. Categorical and continuous outcomes are supported. This package is a fork of the R package 'ranger' (main author: Marvin N. Wright), which implements random forests using an efficient C++ backend.
| Version: | 0.2.0 |
| Depends: | R (≥ 3.5) |
| Imports: | Rcpp (≥ 0.11.2), Matrix, ggplot2, ggrepel, dplyr, scales, rlang |
| LinkingTo: | Rcpp, RcppEigen |
| Suggests: | patchwork |
| Published: | 2026-02-25 |
| DOI: | 10.32614/CRAN.package.unityForest |
| Author: | Roman Hornung [aut, cre], Marvin N. Wright [ctb, cph] |
| Maintainer: | Roman Hornung <hornung at ibe.med.uni-muenchen.de> |
| License: | GPL-3 |
| NeedsCompilation: | yes |
| SystemRequirements: | C++17 |
| Materials: | NEWS |
| CRAN checks: | unityForest results |
| Reference manual: | unityForest.html , unityForest.pdf |
| Package source: | unityForest_0.2.0.tar.gz |
| Windows binaries: | r-devel: unityForest_0.2.0.zip, r-release: unityForest_0.2.0.zip, r-oldrel: unityForest_0.2.0.zip |
| macOS binaries: | r-release (arm64): unityForest_0.2.0.tgz, r-oldrel (arm64): unityForest_0.2.0.tgz, r-release (x86_64): unityForest_0.2.0.tgz, r-oldrel (x86_64): unityForest_0.2.0.tgz |
| Old sources: | unityForest archive |
Please use the canonical form https://CRAN.R-project.org/package=unityForest to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.