Classification Measures when Subclasses are Involved
Overview
Accuracy metrics are commonly used to assess the discriminating ability of diagnostic tests or biomarkers. Among them, metrics based on the ROC framework are particularly popular. When classification involves subclasses, the package 'CompClassMetrics' includes functions that can provide the point estimate, confidence interval as well as true values if a parametric setting is known. For more details see Nan and Tian (2025) doi:10.1177/09622802251343600, Nan and Tian (2023) doi:10.1002/sim.9908, Feng and Tian (2020) doi:10.1177/0962280220938077 and Wang et al (2016) doi:10.1002/sim.6843.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 20
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 11%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest
- 1.0.02026-01-19 · diff ↗ ·
removed 19 exports
AUCofunc, CVUS.calc.func, F_min_given_max_partial_gamma_upper, F_min_given_max_partial_normal_upper, F_min_max_partial_gamma, F_min_max_partial_normal, F_order_r_gamma, F_order_r_normal, HUMC_NPCI, HUMC_fourclass, HUM_min, HUM_standard, ROCC_Surface, ROCC_curve, f_order_max_gamma, f_order_max_normal, f_order_min_gamma, f_order_min_normal, hum.dynamicadded 16 exports
auco_func, cdf_min_given_max_partial_upper, cdf_min_max_partial, cdf_order_r, cvus_func, f_order_max, f_order_min, humc_dynamic, humc_fourclass, humc_min, humc_npci, humc_standard, rocc_curve, rocc_curve_emp, rocc_surface, rocc_surface_emp - 0.1.02025-09-03
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-09-03
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 12 KB / 2 files
- Download size
- 24 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CompClassMetrics")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.