Package: pmcalibration 0.1.1
pmcalibration: Calibration Curves for Clinical Prediction Models
Fit calibrations curves for clinical prediction models and calculate several associated metrics (Eavg, E50, E90, Emax). Ideally predicted probabilities from a prediction model should align with observed probabilities. Calibration curves relate predicted probabilities (or a transformation thereof) to observed outcomes via a flexible non-linear smoothing function. 'pmcalibration' allows users to choose between several smoothers (regression splines, generalized additive models/GAMs, lowess, loess). Both binary and time-to-event outcomes are supported. See Van Calster et al. (2016) <doi:10.1016/j.jclinepi.2015.12.005>; Austin and Steyerberg (2019) <doi:10.1002/sim.8281>; Austin et al. (2020) <doi:10.1002/sim.8570>.
Authors:
pmcalibration_0.1.1.tar.gz
pmcalibration_0.1.1.zip(r-4.5)pmcalibration_0.1.1.zip(r-4.4)pmcalibration_0.1.1.zip(r-4.3)
pmcalibration_0.1.1.tgz(r-4.5-any)pmcalibration_0.1.1.tgz(r-4.4-any)pmcalibration_0.1.1.tgz(r-4.3-any)
pmcalibration_0.1.1.tar.gz(r-4.5-noble)pmcalibration_0.1.1.tar.gz(r-4.4-noble)
pmcalibration_0.1.1.tgz(r-4.4-emscripten)pmcalibration_0.1.1.tgz(r-4.3-emscripten)
pmcalibration.pdf |pmcalibration.html✨
pmcalibration/json (API)
NEWS
# Install 'pmcalibration' in R: |
install.packages('pmcalibration', repos = c('https://stephenrho.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stephenrho/pmcalibration/issues
Last updated 7 hours agofrom:5be3239e48. Checks:4 OK, 4 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 19 2025 |
R-4.5-win | OK | Feb 19 2025 |
R-4.5-mac | OK | Feb 19 2025 |
R-4.5-linux | OK | Feb 20 2025 |
R-4.4-win | NOTE | Feb 19 2025 |
R-4.4-mac | NOTE | Feb 19 2025 |
R-4.3-win | NOTE | Feb 19 2025 |
R-4.3-mac | NOTE | Feb 19 2025 |
Exports:bootcal_metricsgam_calget_ccglm_calinvlogitloess_callogistic_callogitlowess_calpmcalibrationpredict_lowessreg_spline_Xriskdistrun_bootssim_datsimb
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpbapplypillarpkgconfigR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesstringistringrsurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Calculate calibration metrics from calibration curve | cal_metrics |
Extract plot data from 'pmcalibration' object | get_cc |
Run logistic calibration | logistic_cal |
Plot a calibration curve ('pmcalibration' object) | plot.pmcalibration |
Create a calibration curve | pmcalibration |
Print a 'logistic_cal' object | print.logistic_cal |
Print a logistic_cal summary | print.logistic_calsummary |
print a pmcalibration object | print.pmcalibration |
Print summary of pmcalibration object | print.pmcalibrationsummary |
Simulate a binary outcome with either a quadratic relationship or interaction | sim_dat |
Summarize a logistic_cal object | summary.logistic_cal |
Summarize a pmcalibration object | summary.pmcalibration |