Package: cases 0.2.0

Max Westphal

cases: Stratified Evaluation of Subgroup Classification Accuracy

Enables simultaneous statistical inference for the accuracy of multiple classifiers in multiple subgroups (strata). For instance, allows to perform multiple comparisons in diagnostic accuracy studies with co-primary endpoints sensitivity and specificity (Westphal M, Zapf A. Statistical inference for diagnostic test accuracy studies with multiple comparisons. Statistical Methods in Medical Research. 2024;0(0). <doi:10.1177/09622802241236933>).

Authors:Max Westphal [aut, cre]

cases_0.2.0.tar.gz
cases_0.2.0.zip(r-4.7)cases_0.2.0.zip(r-4.6)cases_0.2.0.zip(r-4.5)
cases_0.2.0.tgz(r-4.6-any)cases_0.2.0.tgz(r-4.5-any)
cases_0.2.0.tar.gz(r-4.7-any)cases_0.2.0.tar.gz(r-4.6-any)
cases_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cases/json (API)
NEWS

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

Bug tracker:https://github.com/maxwestphal/cases/issues

Pkgdown/docs site:https://maxwestphal.github.io

Datasets:
  • data_wdbc - Breast Cancer Wisconsin (Diagnostic) Data Set

On CRAN:

Conda:

4.51 score 2 stars 16 scripts 190 downloads 13 exports 53 dependencies

Last updated from:4eb54811e3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK206
source / vignettesOK222
linux-release-x86_64OK205
macos-release-arm64OK166
macos-oldrel-arm64OK259
windows-develOK139
windows-releaseOK155
windows-oldrelOK142
wasm-releaseOK124

Exports:%>%categorizecomparedefine_contrastdraw_datadraw_data_lfcdraw_data_prbdraw_data_rocevaluategenerate_instance_lfcgenerate_instance_rocprocess_instancevisualize

Dependencies:ADGofTestbindatabootclasscliclustercodetoolscolorspacecopulacorrplotcpp11dplyre1071extraDistrfarvergenericsggplot2gluegslgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmultcompmvtnormnumDerivpcaPPpillarpkgconfigproxypsplineR6RColorBrewerRcppRcppArmadillorlangS7sandwichscalesstabledistsurvivalTH.datatibbletidyselectutf8vctrsviridisLitewithrzoo

R package cases: overview

Rendered frompackage_overview.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2024-07-17
Started: 2022-08-06

Real-world example: biomarker assessment and prediction model evaluation

Rendered fromexample_wdbc.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2025-01-04
Started: 2022-08-06