Evaluate Clinical Prediction Models by Net Monetary Benefit
Overview
Estimates when and where a model-guided treatment strategy may outperform a treat-all or treat-none approach by Monte Carlo simulation and evaluation of the Net Monetary Benefit. Details can be viewed in Parsons et al. (2023) doi:10.21105/joss.05328.
ce_plot()- add
wtp_linetypeargument toce_plot()(and default to"dashed") to
given control to user and differentiate C-E plane from main axes.
- add
shapeargument which maps to the shape aesthetic ingeom_point().
User can also specify shape = "cost-effective" to map it to whether that
point is under the WTP/cost-effectiveness plane, or shape = "method" to map
it to the cutpoint method.
- add
add_prop_ceargument. IfTRUE, the % of points for that
cutpoint method is concatenated to the the method name in the figure legend.
- outcome costs were incorrectly excluded from the costs used in the
incremental cost axis before. These are now added to the calculations in
evaluate_cutpoint_cost() and reflected in the ce_plot(). Before, the
Show all changes in 0.2.1Hide the rest of the changes in 0.2.1
incremental costs in ce_plot() were treatment costs alone.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 22 (3 internal)includes a package overview page
- Examples that run
- 37%7 run in a plain check · 12 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 92%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 9
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ropensci/predictnmb on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-03-29
Show all practicesHide 3 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.1Latest
- 0.2.02023-05-19 · diff ↗ ·
removed 1 export
evaluate_cutpointadded 4 exports
ce_plot, evaluate_cutpoint_cost, evaluate_cutpoint_nmb, evaluate_cutpoint_qalys - RR 4.3.0 released · 2023-04-21
- 0.1.02023-04-12
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-04-12
- Total releases
- 3 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 4.7 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("predictNMB")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.05328.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.