{
  "_id": "6a12a890acfb0bcc41d1562e",
  "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-05-24 07:23:39 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>",
  "MD5sum": "8866cba4df66b780b9824976c2cd0c33",
  "_user": "jefriedel",
  "_type": "src",
  "_file": "discAUC_1.1.0.tar.gz",
  "_fileid": "3f2e34be46a1401b77560d339a4157112acb75ef8a744654837829ba736902cd",
  "_filesize": 164118,
  "_sha256": "3f2e34be46a1401b77560d339a4157112acb75ef8a744654837829ba736902cd",
  "_created": "2026-05-24T07:23:39.000Z",
  "_published": "2026-05-24T07:28:16.477Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77580222627,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183247530"
    },
    {
      "job": 77580222632,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183246611"
    },
    {
      "job": 77580222626,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183255912"
    },
    {
      "job": 77580222629,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183254960"
    },
    {
      "job": 77580069341,
      "time": 171,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183233210"
    },
    {
      "job": 77580222628,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183244995"
    },
    {
      "job": 77580222638,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183242532"
    },
    {
      "job": 77580222640,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183241743"
    },
    {
      "job": 77580222631,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183243807"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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"
  },
  "_downloads": {
    "count": 233,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/discAUC"
  },
  "_devurl": "https://github.com/jefriedel/discauc",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/discAUC.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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-05-24T07:25:41.000Z",
      "distro": "noble",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "fc6db803be3e92b8dc9816d970cd01ced689778ff08861f3b563a5c7c424d087",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-24T07:25:38.000Z",
      "distro": "noble",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "131d0c8db22b126b3e021602a9a3aede6b96e72ef2edace999b303d021dc010a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-24T07:27:13.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "de6b2c6ebfe095f324a67f5870e313b3265735ec6a5314f0b29f877d4e3bee5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-24T07:27:04.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "574d8d1534ed811e51da0c7309b9d7cd3040587d94df3d1ba0bd8fe45bd928ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-24T07:25:41.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "85908039ec1ee463a2c9e8ff65de40985a1db969a7b1dc1930a2174db02a5e4f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-24T07:24:54.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "956049e3676308e71d3ff58a40ba6b3c83af387c53a16756cd0838fb81e9efc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-24T07:24:47.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "df533726d0db1728c7c978620b5409ffad3d5a0e0bbe26f4dc3df79da3fe31d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-24T07:24:55.000Z",
      "commit": "10b30d83e4e5f6e8504a731b5f269bc505900e45",
      "fileid": "389aba5298b562b32442cc0e90be0f5c29298f56d0199fe61baf42a1f6e134d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jefriedel/actions/runs/26355008619"
    }
  ]
}