Total Operating Characteristic Curve and ROC Curve
Overview
Construction of the Total Operating Characteristic (TOC) Curve and the Receiver (aka Relative) Operating Characteristic (ROC) Curve for spatial and non-spatial data. The TOC method is a modification of the ROC method which measures the ability of an index variable to diagnose either presence or absence of a characteristic. The diagnosis depends on whether the value of an index variable is above a threshold. Each threshold generates a two-by-two contingency table, which contains four entries: hits (H), misses (M), false alarms (FA), and correct rejections (CR). While ROC shows for each threshold only two ratios, H/(H + M) and FA/(FA + CR), TOC reveals the size of every entry in the contingency table for each threshold (Pontius Jr., R.G., Si, K. 2014. doi:10.1080/13658816.2013.862623).
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Ali Santacruz <amsantac@unal.edu.co>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = c("Robert", "G."),
family = "Pontius",
role = "aut",
email = "rpontius@clarku.edu"),
person(given = "Ali",
family = "Santacruz",
role = c("aut", "cre"),
email = "amsantac@unal.edu.co"),
person(given = "Amin",
family = "Tayyebi",
role = "aut"),
person(given = "Benoit",
family = "Parmentier",
role = "aut"),
person(given = "Kangping",
family = "Si",
role = "aut"))
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 8includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 60%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
Stars over time
Forks over time
Checks run against github.com/amsantac/toc on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
People & History
Maintainer since at least 0.0-5 (2020)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.0-6Latest
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.0-52020-05-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.0-42015-12-29 · diff ↗
- 0.0-32015-08-05 · diff ↗
- 0.0-22015-06-06
Show 1 earlier eventHide 1 earlier event
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-06-06
- Total releases
- 5 / 11 yrs
- License
- GPL-3 OSI
- Download size
- 228 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TOC")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.