{
  "_id": "6ab0defd3d719c1f84083f5a",
  "Package": "discAUC",
  "Type": "Package",
  "Title": "Linear and Non-Linear AUC for Discounting Data",
  "Description": "Area under the curve (AUC; Myerson et al., 2001)\n<doi:10.1901/jeab.2001.76-235> is a popular measure used in\ndiscounting research. Although the calculation of AUC is\nstandardized, there are differences in AUC based on some\nassumptions. For example, Myerson et al. (2001)\n<doi:10.1901/jeab.2001.76-235> assumed that (with delay\ndiscounting data) a researcher would impute an indifference\npoint at zero delay equal to the value of the larger, later\noutcome. However, this practice is not clearly followed. This\nimputed zero-delay indifference point plays an important role\nin log and ordinal versions of AUC. Ordinal and log versions of\nAUC are described by Borges et al.\n(2016)<doi:10.1002/jeab.219>. The package can calculate all\nthree versions of AUC [and includes a new version: IHS(AUC)],\nimpute indifference points when x = 0, calculate ordinal AUC in\nthe case of Halton sampling of x-values, and account for\nprobability discounting AUC.",
  "Version": "1.1.0",
  "Authors@R": "person(given = \"Jonathan E.\",\nfamily = \"Friedel\",\nemail = \"jfriedel@georgiasouthern.edu\",\ncomment = c(ORCID = \"https://orcid.org/0000-0002-1516-330X\"),\nrole = c(\"aut\",\"cre\"))",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/jefriedel/discAUC",
  "BugReports": "https://github.com/jefriedel/discAUC/issues",
  "Repository": "https://jefriedel.r-universe.dev",
  "Date/Publication": "2026-02-23 16:57:37 UTC",
  "RemoteUrl": "https://github.com/jefriedel/discauc",
  "RemoteRef": "HEAD",
  "RemoteSha": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 07:35:04 UTC",
    "User": "root"
  },
  "Author": "Jonathan E. Friedel [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1516-330X>)",
  "Maintainer": "Jonathan E. Friedel <jfriedel@georgiasouthern.edu>",
  "_user": "jefriedel",
  "_type": "src",
  "_file": "discAUC_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/933e5d64ad66674b6339047d205ec2d0ac1c30b18c5b9309a652a0c6243cfe1e",
  "_filesize": 166007,
  "_sha256": "933e5d64ad66674b6339047d205ec2d0ac1c30b18c5b9309a652a0c6243cfe1e",
  "_expires": "2026-12-30T07:38:36.000Z",
  "_created": "2026-09-21T07:35:04.000Z",
  "_published": "2026-09-21T07:38:37.675Z",
  "_jobs": [
    {
      "job": 106250564943,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10627107622"
    },
    {
      "job": 106250564965,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10627357041"
    },
    {
      "job": 106250565009,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10627307319"
    },
    {
      "job": 106250564985,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10627207445"
    },
    {
      "job": 106249868661,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10626888270"
    },
    {
      "job": 106250564974,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10626189734"
    },
    {
      "job": 106250565116,
      "time": 71,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10627381792"
    },
    {
      "job": 106250564950,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10627321958"
    },
    {
      "job": 106250564971,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10627117489"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294",
  "_status": "success",
  "_upstream": "https://github.com/jefriedel/discauc",
  "_commit": {
    "id": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
    "author": "jefriedel <65580288+jefriedel@users.noreply.github.com>",
    "committer": "jefriedel <65580288+jefriedel@users.noreply.github.com>",
    "message": "Added cran comment\n",
    "time": 1771865857
  },
  "_maintainer": {
    "name": "Jonathan E. Friedel",
    "email": "jfriedel@georgiasouthern.edu",
    "login": "ba-code-review",
    "description": "",
    "uuid": 78384121,
    "orcid": "0000-0002-1516-330X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "jefriedel",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jefriedel",
      "count": 30,
      "uuid": 65580288
    }
  ],
  "_userbio": {
    "uuid": 65580288,
    "type": "user",
    "name": "jefriedel",
    "followers": 0
  },
  "_downloads": {
    "count": 265,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/discAUC"
  },
  "_devurl": "https://github.com/jefriedel/discauc",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/discAUC.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/jefriedel/discauc",
  "_realowner": "jefriedel",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2021-06-02"
    },
    {
      "version": "1.0.0",
      "date": "2023-03-17"
    },
    {
      "version": "1.0.3",
      "date": "2024-10-10"
    },
    {
      "version": "1.1.0",
      "date": "2026-02-23"
    }
  ],
  "_exports": [
    "AUC",
    "AUC_zeros",
    "prep_AUC",
    "prep_log_AUC",
    "prep_odds_against",
    "prep_ordinal",
    "prep_ordinal_all"
  ],
  "_datasets": [
    {
      "name": "examp_DD",
      "title": "Delay discounting data",
      "object": "examp_DD",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "delay_months",
        "outcome",
        "prop_indiff"
      ],
      "rows": 360,
      "table": true,
      "tojson": true
    },
    {
      "name": "examp_PD",
      "title": "Probability discounting data",
      "object": "examp_PD",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "prob",
        "outcome",
        "prop_indiff"
      ],
      "rows": 360,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AUC",
      "title": "Area Under the Curve for Discounting Data",
      "topics": [
        "AUC"
      ]
    },
    {
      "page": "AUC_zeros",
      "title": "Impute zero delay/100% likely indifference points",
      "topics": [
        "AUC_zeros"
      ]
    },
    {
      "page": "examp_DD",
      "title": "Delay discounting data",
      "topics": [
        "examp_DD"
      ]
    },
    {
      "page": "examp_PD",
      "title": "Probability discounting data",
      "topics": [
        "examp_PD"
      ]
    },
    {
      "page": "prep_AUC",
      "title": "AUC data peperation helper function",
      "topics": [
        "prep_AUC"
      ]
    },
    {
      "page": "prep_log_AUC",
      "title": "Calculate log x_axis values for AUClog",
      "topics": [
        "prep_log_AUC"
      ]
    },
    {
      "page": "prep_odds_against",
      "title": "Calculate odds against values for 'x_axis' for probability discounting",
      "topics": [
        "prep_odds_against"
      ]
    },
    {
      "page": "prep_ordinal",
      "title": "Ordinal x-axis by grouping",
      "topics": [
        "prep_ordinal"
      ]
    },
    {
      "page": "prep_ordinal_all",
      "title": "Shared ordinal x-axis",
      "topics": [
        "prep_ordinal_all"
      ]
    }
  ],
  "_readme": "https://github.com/jefriedel/discauc/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "discAUC_vignette.Rmd",
      "filename": "discAUC_vignette.html",
      "title": "Using the discAUC package",
      "author": "Jonathan E. Friedel",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Loading the Package and Setting up Data",
        "Calculating AUC",
        "Different Versions of AUC",
        "Calculating AUCord",
        "Calculating AUClog",
        "Calculating AUC for larger data sets",
        "Finer Control of AUC calculations",
        "AUC_zeros()",
        "prep_odds_against()",
        "prep_ordinal()",
        "prep_ordinals_all()",
        "prep_log()",
        "Accounting for log(0)",
        "Adding a correction factor",
        "Adjusting log transformed values",
        "Inverse Hyperbolic Sine Transformation (IHS)",
        "Combining Finer Control Functions"
      ],
      "created": "2021-06-03 13:33:27",
      "modified": "2023-03-20 13:12:04",
      "commits": 2
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "discauc",
  "_universes": [
    "jefriedel",
    "ba-code-review"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-21T07:37:10.000Z",
      "distro": "resolute",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/e717da14b8ec40b7212bbefbca4fd635668e550bb9796cec572935bbde60c142",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-09-21T07:37:11.000Z",
      "distro": "resolute",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/3e255d8277e96e62aa80e668e23de635d7135b011ff27037932b355d98055edf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-21T07:37:20.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/e84ba6c325d7ad7660a3eaab853a5499ccee20efa3d32105507d184459387afa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-09-21T07:37:20.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/4fd006fff5730eec81f3bf2b87a0d6b070b563b38e62fae9895bc9d6011a2451",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-09-21T07:37:18.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/0071736c30bb1db88c44a34c2fcf4bb435d031f759ce3ad1ae8be7607b050519",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T07:36:01.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/1f7a757020b90b927cd9389ad66a3ba6fca4cf0ad359a35fd1ae8459577dabd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T07:36:05.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/f28c0cd99395ac2129b094abc03463e3f4527c1ffff1e099b0c99e01b9f89efe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-09-21T07:36:12.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "https://r2.ropensci.org/7eedbda9a6703ac8e170d4a91c7560c95dd6feb079c3cce5310740654c8080c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/35573417294"
    }
  ]
}