Package: pminternal 0.1.0

pminternal: Internal Validation of Clinical Prediction Models

Conduct internal validation of a clinical prediction model for a binary outcome. Produce bias corrected performance metrics (c-statistic, Brier score, calibration intercept/slope) via bootstrap (simple bootstrap, bootstrap optimism, .632 optimism) and cross-validation (CV optimism, CV average). Also includes functions to assess model stability via bootstrap resampling. See Steyerberg et al. (2001) <doi:10.1016/s0895-4356(01)00341-9>; Harrell (2015) <doi:10.1007/978-3-319-19425-7>; Riley and Collins (2023) <doi:10.1002/bimj.202200302>.

Authors:Stephen Rhodes [aut, cre, cph]

pminternal_0.1.0.tar.gz
pminternal_0.1.0.zip(r-4.5)pminternal_0.1.0.zip(r-4.4)pminternal_0.1.0.zip(r-4.3)
pminternal_0.1.0.tgz(r-4.5-any)pminternal_0.1.0.tgz(r-4.4-any)pminternal_0.1.0.tgz(r-4.3-any)
pminternal_0.1.0.tar.gz(r-4.5-noble)pminternal_0.1.0.tar.gz(r-4.4-noble)
pminternal_0.1.0.tgz(r-4.4-emscripten)pminternal_0.1.0.tgz(r-4.3-emscripten)
pminternal.pdf |pminternal.html
pminternal/json (API)
NEWS

# Install 'pminternal' in R:
install.packages('pminternal', repos = c('https://stephenrho.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stephenrho/pminternal/issues

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

On CRAN:

Conda:

5.78 score 8 stars 12 exports 82 dependencies

Last updated 15 days agofrom:8023a9ea0a. Checks:7 OK, 2 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 19 2025
R-4.5-winOKMar 19 2025
R-4.5-macOKMar 19 2025
R-4.5-linuxOKMar 19 2025
R-4.4-winOKMar 19 2025
R-4.4-macOKMar 19 2025
R-4.4-linuxOKMar 19 2025
R-4.3-winNOTEMar 19 2025
R-4.3-macNOTEMar 19 2025

Exports:boot_optimismcal_defaultscal_plotcalibration_stabilityclassification_stabilitycrossvaldcurve_stabilityget_stabilitymape_stabilityprediction_stabilityscore_binaryvalidate

Dependencies:backportsbase64encbroombslibcachemcheckmatecliclustercolorspacecpp11data.tabledcurvesdigestdplyrevaluatefansifarverfastmapfontawesomeforeignFormulafsgenericsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsinsightisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrmarginaleffectsMASSMatrixmemoisemgcvmimemunsellnlmennetpbapplypillarpkgconfigplyrpmcalibrationpROCpurrrR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrpartrstudioapisassscalesstringistringrsurvivaltibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyaml

Getting started with pminternal

Rendered frompminternal.Rmdusingknitr::rmarkdownon Mar 19 2025.

Last update: 2025-03-18
Started: 2023-10-07

Handling missing data

Rendered frommissing-data.Rmdusingknitr::rmarkdownon Mar 19 2025.

Last update: 2025-03-01
Started: 2025-02-26

More examples

Rendered fromvalidate-examples.Rmdusingknitr::rmarkdownon Mar 19 2025.

Last update: 2025-03-18
Started: 2023-11-07