PRROC
1.4Precision-Recall and ROC Curves for Weighted and Unweighted Data
Overview
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
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 90%
- Return-value docs
- 67%
- References docs
- 50%
Downloads
Dependencies
Code & Tests
- 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
Call graph
Open call graph →Lowest coverage
11 functions| Function | Cyclo | Coverage |
|---|---|---|
| ggprroc exp | 12 | 0% |
| getColor | 1 | 0% |
| plot.PRROC | 29 | 0% |
| print.PRROC | 13 | 0% |
| check | 4 | 75% |
| compute.pr | 19 | 91% |
People & History
5 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.4Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.3.12018-06-19 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.32017-04-21 · diff ↗
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.12015-02-26 · diff ↗
Show 2 earlier events
- 1.02014-12-16
- RR 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