Skip to content

PRROC

1.4

Precision-Recall and ROC Curves for Weighted and Unweighted Data

20packages depend
366.2Kdownloads / year
51.8%test coverage
13/13checks pass

Overview

About
Maintained by Jan GrauFirst published 2014-12-165 releasesCRAN 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
Code health
Yes
Tests · ratio 0.38
51.8%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
67%
References docs
50%

Downloads

366.2K
CRAN downloads in the past year
Rank #691 · ~1K/day · ~30.5K/mo
Daily download trend is not available in this view yet.
25.7K30 days
84.8K90 days
366.2K1 year
Compare downloads with other packages →
Also on16.7K r2u37 autocran38.6K conda_forge246 bioconda73 c2d4u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
R 968 (47%)Rd 650 (31%)Vignettes 456 (22%)
Code characteristics
Object systems
S32
Cyclomatic complexity
5.0 median / 29 max
Test cases
22 / 0.38 per code line

Test coverage

Line coverage

52%

Expression

51.4%

Tests / Examples

51.8% / 94% ex

Functions

11 3 exported

Complexity

9.5 avg / 29 max

Call network

11 nodes / 10 edges

Loading call graph…

Lowest coverage

11 functions
FunctionCycloCoverage
ggprroc exp120%
getColor10%
plot.PRROC290%
print.PRROC130%
check475%
compute.pr1991%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4Latest
    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
    2018-06-19 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3
    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
    2015-02-26 · diff ↗
Show 2 earlier events
  • 1.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →