{
  "_id": "6ac0be5c91601a2ad29982a9",
  "Package": "TOC",
  "Type": "Package",
  "Title": "Total Operating Characteristic Curve and ROC Curve",
  "Version": "0.0-6",
  "Date": "2023-02-09",
  "Author": "Robert G. Pontius <rpontius@clarku.edu>, Ali Santacruz, Amin\nTayyebi, Benoit Parmentier, Kangping Si",
  "Maintainer": "Ali Santacruz <amsantac@unal.edu.co>",
  "Description": "Construction of the Total Operating Characteristic (TOC)\nCurve and the Receiver (aka Relative) Operating Characteristic\n(ROC) Curve for spatial and non-spatial data. The TOC method is\na modification of the ROC method which measures the ability of\nan index variable to diagnose either presence or absence of a\ncharacteristic. The diagnosis depends on whether the value of\nan index variable is above a threshold. Each threshold\ngenerates a two-by-two contingency table, which contains four\nentries: hits (H), misses (M), false alarms (FA), and correct\nrejections (CR). While ROC shows for each threshold only two\nratios, H/(H + M) and FA/(FA + CR), TOC reveals the size of\nevery entry in the contingency table for each threshold\n(Pontius Jr., R.G., Si, K. 2014.\n<doi:10.1080/13658816.2013.862623>).",
  "License": "GPL-3",
  "BugReports": "https://github.com/amsantac/TOC/issues",
  "URL": "https://github.com/amsantac/TOC",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://amsantac.r-universe.dev",
  "Date/Publication": "2023-10-11 17:08:03 UTC",
  "RemoteUrl": "https://github.com/amsantac/toc",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee62de3583acf7f15567f1f6861d318b03633bf2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 08:31:17 UTC",
    "User": "root"
  },
  "_user": "amsantac",
  "_type": "src",
  "_file": "TOC_0.0-6.tar.gz",
  "_fileid": "https://r2.ropensci.org/7a7a54249fecbc2c7c4163ca62c0e55d164a2e04bdad560d3fc7f8735c768409",
  "_filesize": 462556,
  "_sha256": "7a7a54249fecbc2c7c4163ca62c0e55d164a2e04bdad560d3fc7f8735c768409",
  "_expires": "2027-01-11T08:35:39.000Z",
  "_created": "2026-10-03T08:31:17.000Z",
  "_published": "2026-10-03T08:35:40.766Z",
  "_jobs": [
    {
      "job": 111165885015,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11269725922"
    },
    {
      "job": 111165885056,
      "time": 198,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269905846"
    },
    {
      "job": 111165885075,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11269885698"
    },
    {
      "job": 111165885115,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269855821"
    },
    {
      "job": 111165449720,
      "time": 161,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269965288"
    },
    {
      "job": 111165885050,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11269042558"
    },
    {
      "job": 111165885071,
      "time": 136,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11268982810"
    },
    {
      "job": 111165885025,
      "time": 91,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11269920601"
    },
    {
      "job": 111165885096,
      "time": 136,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11269940560"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337",
  "_status": "success",
  "_upstream": "https://github.com/amsantac/toc",
  "_commit": {
    "id": "ee62de3583acf7f15567f1f6861d318b03633bf2",
    "author": "amsantac <amsantac@gmail.com>",
    "committer": "amsantac <amsantac@gmail.com>",
    "message": "add CRAN downloads badge\n",
    "time": 1697044083
  },
  "_maintainer": {
    "name": "Ali Santacruz",
    "email": "amsantac@unal.edu.co"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "terra",
      "role": "Depends"
    },
    {
      "package": "bit",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    }
  ],
  "_owner": "amsantac",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "amsantac",
      "count": 49,
      "uuid": 8917061
    }
  ],
  "_userbio": {
    "uuid": 8917061,
    "type": "user",
    "name": "Ali S.",
    "followers": 56
  },
  "_downloads": {
    "count": 280,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TOC"
  },
  "_mentions": 10,
  "_devurl": "https://github.com/amsantac/toc",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TOC.html"
  ],
  "_homeurl": "https://github.com/amsantac/toc",
  "_realowner": "amsantac",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0-2",
      "date": "2015-06-05"
    },
    {
      "version": "0.0-3",
      "date": "2015-08-05"
    },
    {
      "version": "0.0-4",
      "date": "2015-12-29"
    },
    {
      "version": "0.0-5",
      "date": "2020-05-06"
    },
    {
      "version": "0.0-6",
      "date": "2023-02-09"
    }
  ],
  "_exports": [
    "ROC",
    "roctable",
    "scaling",
    "TOC",
    "uncertainty"
  ],
  "_help": [
    {
      "page": "TOC-package",
      "title": "Total Operating Characteristic (TOC) Curve and ROC Curve",
      "topics": [
        "TOC-package"
      ]
    },
    {
      "page": "plot",
      "title": "Plot an object of class Toc or Roc",
      "topics": [
        "plot",
        "plot,Roc-method",
        "plot,Toc-method"
      ]
    },
    {
      "page": "ROC",
      "title": "Construct the table for the ROC curve",
      "topics": [
        "ROC",
        "ROC,numeric,numeric-method",
        "ROC,SpatRaster,SpatRaster-method"
      ]
    },
    {
      "page": "roctable",
      "title": "Construct a basic ROC table",
      "topics": [
        "roctable"
      ]
    },
    {
      "page": "scaling",
      "title": "scale the output TOC values and change units",
      "topics": [
        "scaling",
        "scaling,Toc-method"
      ]
    },
    {
      "page": "TOC",
      "title": "Construct the table for the TOC curve",
      "topics": [
        "TOC",
        "TOC,numeric,numeric-method",
        "TOC,SpatRaster,SpatRaster-method"
      ]
    },
    {
      "page": "Toc-classes",
      "title": "Toc and Roc classes",
      "topics": [
        "Roc-class",
        "Toc-class"
      ]
    },
    {
      "page": "uncertainty",
      "title": "Uncertainty in AUC calculation",
      "topics": [
        "uncertainty"
      ]
    }
  ],
  "_readme": "https://github.com/amsantac/toc/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "Rcpp",
    "terra"
  ],
  "_score": 4.414973347970818,
  "_indexed": true,
  "_nocasepkg": "toc",
  "_universes": [
    "amsantac"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0-6",
      "date": "2026-10-03T08:33:01.000Z",
      "distro": "resolute",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/501431de620058e7ab08c18fedbe6a1ec9ccfac7b739688b31b1c85b26900337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0-6",
      "date": "2026-10-03T08:33:43.000Z",
      "distro": "resolute",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/114c436b92a4f16db926bf01fd8b8681d1438819b4372ec280c20f413f8e7575",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0-6",
      "date": "2026-10-03T08:33:30.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/193df9952832bfb5b832a3c6047b7fa7cce9a18b42f9f9fc636fa307142667f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0-6",
      "date": "2026-10-03T08:33:59.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/8c5caf43da97370763c293606d61c0e77ce5de88162c722b47cd96bc70e14b52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0-6",
      "date": "2026-10-03T08:33:10.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/5a9f73b634f4490be94a4d7ba92b30cd8fbe827aa8df3408771d25bd9dc99729",
      "status": "success",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0-6",
      "date": "2026-10-03T08:32:28.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/9cea48d4306d0b350cace2933d0463244728696a766db40fdbc27bfd86197272",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0-6",
      "date": "2026-10-03T08:32:24.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/ca6a445d2fd0ca568c5a1cffa6e18e901712939a3506da30a89ce68363b8b01e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0-6",
      "date": "2026-10-03T08:32:29.000Z",
      "commit": "ee62de3583acf7f15567f1f6861d318b03633bf2",
      "fileid": "https://r2.ropensci.org/04f94bc2a98ef7b1c7351d49f591ec00078f71410d9b65adf9d8d8c08dc5cbec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/amsantac/actions/runs/37109818337"
    }
  ]
}