Stratified and Personalised Models Based on Model-Based Trees and Forests
Overview
Model-based trees for subgroup analyses in clinical trials and model-based forests for the estimation and prediction of personalised treatment effects (personalised models). Currently partitioning of linear models, lm(), generalised linear models, glm(), and Weibull models, survreg(), is supported. Advanced plotting functionality is supported for the trees and a test for parameter heterogeneity is provided for the personalised models. For details on model-based trees for subgroup analyses see Seibold, Zeileis and Hothorn (2016) doi:10.1515/ijb-2015-0032; for details on model-based forests for estimation of individual treatment effects see Seibold, Zeileis and Hothorn (2017) doi:10.1177/0962280217693034.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-14
- NOTE9 OK, 4 NOTE2026-07-11
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 22
- Examples that run
- 93%13 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 93%
- Return-value docs
- 58%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing model4you adds 26 packages (12 with compiled code, 21 MB of source tarballs). Heaviest: ggplot2 6.0 MB, partykit 2.1 MB, isoband 1.5 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2026-02-12
- 0.9-9Latest
- archivedRemoved from CRAN2025-12-13issues were not corrected despite reminders
- RR 4.5.0 released · 2025-04-11
- 0.9-82024-11-08 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.9-72021-01-20 · diff ↗
- 0.9-62020-11-25 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-02-19
- 0.9-5
- archivedRemoved from CRAN2019-12-18check problems were not corrected in time MKL and OpenBLAS
Show 7 earlier eventsHide 7 earlier events
Package metadata
- First published
- 2018-01-16
- Total releases
- 9 / 8 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 54 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("model4you")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.