Skip to content

CompClassMetrics

1.0.1Package record

Classification Measures when Subclasses are Involved

0packages depend
3.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Nan NanCRAN page ↗

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

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.1
READMENoVignettesNoNEWSYes · 67% structured · does not mention 1.0.1Citation fileNoWebsitenot declared in DESCRIPTION
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

3.7K
CRAN downloads in the past year
Rank #21,779 · ~10/day · ~305/mo
Daily download trend is not available in this view yet.
24830 days
60290 days
3.7K1 year
Compare downloads with other packages →
Also on94 r2u10 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing CompClassMetrics adds 5 packages (2 with compiled code, 7.2 MB of source tarballs). Heaviest: cubature 3.2 MB, Rcpp 1.8 MB, plot3D 1.8 MB.

Depends (1)
R >= 3.5.0
Imports (4)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    record
    2026-02-28 · current release · diff ↗
  • 1.0.0
    record
    2026-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.dynamic
    added 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.0
    record
    2025-09-03
  • R
    R 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")
Nan, N. (2026). CompClassMetrics: Classification Measures when Subclasses are Involved (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CompClassMetrics version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy