Skip to content

Total Operating Characteristic Curve and ROC Curve

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

Overview

About

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

CRAN checks
2NOTE11OK
Check messages
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.

CRAN check page ↗

Slowest check: 4.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.0-6
README· In the repository, left out of the releaseVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

2.4K
CRAN downloads in the past year
Rank #18,894 · ~7/day · ~204/mo
Daily download trend is not available in this view yet.
25130 days
69890 days
2.4K1 year
Compare downloads with other packages →
Also on67 r2u6 autocran

Repository

4Stars
4Forks
0Open issues
0Open PRs
0Releases
49Commits
1Commit identities
49 commits · Last activity 2023-10-11 · 0% stars, 30d
Responsiveness
not measured

Stars over time

2025-06-09 · 42026-07-07 · 4
PracticesBeta

Checks run against github.com/amsantac/toc on 2026-10-21.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing TOC adds 3 packages (3 with compiled code, 3.6 MB of source tarballs). Heaviest: Rcpp 1.8 MB, terra 1.5 MB, bit 297 KB.

Depends (3)
terrabitmethods
Imports (3)
graphicsgrDevicesutils
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (5)

Maintainer since at least 0.0-5 (2020)

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0-6Latest
    record
    2023-02-09 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.0-5
    record
    2020-05-07 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.0-4
    record
    2015-12-29 · diff ↗
  • 0.0-3
    record
    2015-08-05 · diff ↗
  • 0.0-2
    record
    2015-06-06
Show 1 earlier eventHide 1 earlier event
  • R
    R 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.

APA

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

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.

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