Skip to content

Precision-Recall and ROC Curves for Weighted and Unweighted Data

17packages dependsuggested by 5
369.7Kdownloads / year
51.8%test coverage
13/13flavors OK

Overview

About
Maintained by Jan GrauCRAN page ↗

Computes the areas under the precision-recall (PR) and ROC curve for weighted (e.g., soft-labeled) and unweighted data. In contrast to other implementations, the interpolation between points of the PR curve is done by a non-linear piecewise function. In addition to the areas under the curves, the curves themselves can also be computed and plotted by a specific S3-method. References: Davis and Goadrich (2006) doi:10.1145/1143844.1143874; Keilwagen et al. (2014) doi:10.1371/journal.pone.0092209; Grau et al. (2015) doi:10.1093/bioinformatics/btv153.

Install

Health

CRAN checks
13OK
Slowest check: 1.5 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.4
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
6includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
90%
Return-value docs
67%
Help pages citing references
50%

Downloads

369.7K
CRAN downloads in the past year
Rank #752 · ~1K/day · ~30.8K/mo
Daily download trend is not available in this view yet.
18.5K30 days
66.3K90 days
369.7K1 year
Compare downloads with other packages →
Also on31.1K r2u6 autocran36.7K conda_forge281 bioconda148 c2d4u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing PRROC adds 1 package (1 with compiled code, 766 KB of source tarballs). Heaviest: rlang 766 KB.

Depends (1)
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
17direct
53indirect
Imports 17
Suggested by 5
Show all 22 packagesHide all 22 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 1.0 (2014)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4Latest
    record
    2025-03-18 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.3.1
    record
    2018-06-19 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3
    record
    2017-04-21 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1
    record
    2015-02-26 · diff ↗
Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2014-12-16
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-12-16
Total releases
5 / 12 yrs
License
GPL-3 OSI
Download size
510 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PRROC")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 PRROC version 1.4 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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