Package: rmda 1.6
Marshall Brown
rmda: Risk Model Decision Analysis
Provides tools to evaluate the value of using a risk prediction instrument to decide treatment or intervention (versus no treatment or intervention). Given one or more risk prediction instruments (risk models) that estimate the probability of a binary outcome, rmda provides functions to estimate and display decision curves and other figures that help assess the population impact of using a risk model for clinical decision making. Here, "population" refers to the relevant patient population. Decision curves display estimates of the (standardized) net benefit over a range of probability thresholds used to categorize observations as 'high risk'. The curves help evaluate a treatment policy that recommends treatment for patients who are estimated to be 'high risk' by comparing the population impact of a risk-based policy to "treat all" and "treat none" intervention policies. Curves can be estimated using data from a prospective cohort. In addition, rmda can estimate decision curves using data from a case-control study if an estimate of the population outcome prevalence is available. Version 1.4 of the package provides an alternative framing of the decision problem for situations where treatment is the standard-of-care and a risk model might be used to recommend that low-risk patients (i.e., patients below some risk threshold) opt out of treatment. Confidence intervals calculated using the bootstrap can be computed and displayed. A wrapper function to calculate cross-validated curves using k-fold cross-validation is also provided.
Authors:
rmda_1.6.tar.gz
rmda_1.6.zip(r-4.5)rmda_1.6.zip(r-4.4)rmda_1.6.zip(r-4.3)
rmda_1.6.tgz(r-4.4-any)rmda_1.6.tgz(r-4.3-any)
rmda_1.6.tar.gz(r-4.5-noble)rmda_1.6.tar.gz(r-4.4-noble)
rmda_1.6.tgz(r-4.4-emscripten)rmda_1.6.tgz(r-4.3-emscripten)
rmda.pdf |rmda.html✨
rmda/json (API)
NEWS
# Install 'rmda' in R: |
install.packages('rmda', repos = c('https://mdbrown.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mdbrown/rmda/issues
- dcaData - Simulated dataset for package 'DecisionCurve'
- dcaData_cc - Simulated dataset for package 'DecisionCurve'
Last updated 6 years agofrom:84a11aff0e. Checks:OK: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | WARNING | Oct 31 2024 |
R-4.5-linux | WARNING | Oct 31 2024 |
R-4.4-win | WARNING | Oct 31 2024 |
R-4.4-mac | WARNING | Oct 31 2024 |
R-4.3-win | WARNING | Oct 31 2024 |
R-4.3-mac | WARNING | Oct 31 2024 |
Exports:Add_CostBenefit_Axiscv_decision_curvedecision_curveplot_clinical_impactplot_decision_curveplot_roc_components
Dependencies:caretclasscliclockcodetoolscolorspacecpp11data.tablediagramdigestdplyre1071fansifarverforeachfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvModelMetricsmunsellnlmennetnumDerivpanderparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6RColorBrewerRcpprecipesreshapereshape2rlangrpartscalesshapeSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
rmda: Risk Model Decision Analysis | rmda-package rmda |
Add cost benefit ratio axis to a decision curve plot. | Add_CostBenefit_Axis |
Calculate cross-validated decision curves | cv_decision_curve |
Simulated dataset for package 'DecisionCurve' | dcaData |
Simulated dataset for package 'DecisionCurve' | dcaData_cc |
Calculate net benefit/decision curves | decision_curve |
Plot the clinical impact curve from a DecisionCurve object. | plot_clinical_impact |
Plot the net benefit curves from a decision_curve object or many decision_curve objects | plot_decision_curve |
Plot the components of a ROC curve by the high risk thresholds. | plot_roc_components |
Displays a useful description of a decision_curve object | summary.decision_curve |