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:
pmcalibration_0.2.0.tar.gz
pmcalibration_0.2.0.zip(r-4.7-any)pmcalibration_0.2.0.zip(r-4.6-any)pmcalibration_0.2.0.zip(r-4.5-any)
pmcalibration_0.2.0.tgz(r-4.6-any)pmcalibration_0.2.0.tgz(r-4.5-any)
pmcalibration_0.2.0.tar.gz(r-4.7-any)pmcalibration_0.2.0.tar.gz(r-4.6-any)
pmcalibration_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pmcalibration/json (API)
| # 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/docs site:https://stephenrho.github.io
Last updated from:457645bfbf. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 121 | ||
| source / vignettes | OK | 222 | ||
| linux-release | OK | 116 | ||
| macos-release | OK | 112 | ||
| macos-oldrel | OK | 100 | ||
| windows-devel | OK | 77 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 76 | ||
| wasm-release | OK | 107 |
Exports:bootcal_metricsgam_calget_curveglm_calinvlogitloess_callogistic_callogitlowess_calpmcalibrationpredict_lowessreg_spline_Xriskdistrun_bootssim_datsimb
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestevaluatefarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimenlmennetpbapplyR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapiS7sassscalesstringistringrsurvivaltinytexvctrsviridisLitewithrxfunyaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate calibration metrics from calibration curve | cal_metrics |
| Extract plot data from 'pmcalibration' object | get_curve |
| Run logistic calibration | logistic_cal |
| Plot a calibration curve | 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 |
