Package: pmcalibration 0.2.0

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:Stephen Rhodes [aut, cre, cph]

pmcalibration_0.2.0.tar.gz
pmcalibration_0.2.0.zip(r-4.5)pmcalibration_0.2.0.zip(r-4.4)pmcalibration_0.2.0.zip(r-4.3)
pmcalibration_0.2.0.tgz(r-4.5-any)pmcalibration_0.2.0.tgz(r-4.4-any)pmcalibration_0.2.0.tgz(r-4.3-any)
pmcalibration_0.2.0.tar.gz(r-4.5-noble)pmcalibration_0.2.0.tar.gz(r-4.4-noble)
pmcalibration_0.2.0.tgz(r-4.4-emscripten)pmcalibration_0.2.0.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

Pkgdown site:https://stephenrho.github.io

On CRAN:

Conda-Forge:

3.73 score 54 scripts 253 downloads 17 exports 67 dependencies

Last updated 13 days agofrom:457645bfbf. Checks:6 OK, 2 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 21 2025
R-4.5-winOKFeb 21 2025
R-4.5-macOKFeb 21 2025
R-4.5-linuxOKFeb 21 2025
R-4.4-winOKFeb 21 2025
R-4.4-macOKFeb 21 2025
R-4.3-winNOTEFeb 21 2025
R-4.3-macNOTEFeb 21 2025

Exports:bootcal_metricsgam_calget_curveglm_calinvlogitloess_callogistic_callogitlowess_calpmcalibrationpredict_lowessreg_spline_Xriskdistrun_bootssim_datsimb

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpbapplypillarpkgconfigR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisassscalesstringistringrsurvivaltibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml