{
  "_id": "6a10234cacfb0bcc41c8d595",
  "Package": "delaydiscount",
  "Title": "Fit Linearized Hyperbolic Model for Delay Discounting Curves",
  "Version": "0.0.1",
  "Authors@R": "c(\nperson(\"David\", \"Hinds\", email = \"davideh@vt.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Marco\", \"Ferreira\", email = \"marf@vt.edu\", role = c(\"aut\")),\nperson(\"Allison\", \"Tegge\", email = \"ategge@vt.edu\", role = c(\"ctb\")),\nperson(\"Jeff\", \"Stein\", email = \"jstein1@vtc.vt.edu\", role = c(\"ctb\"))\n)",
  "Description": "Functions for estimating parameters and hyperparameters of\nthe linearized hyperbolic model, and testing equality of\nhyperparameters.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/davideh-vt/delaydiscount,\nhttps://davideh-vt.github.io/delaydiscount/",
  "BugReports": "https://github.com/davideh-vt/delaydiscount/issues",
  "Repository": "https://davideh-vt.r-universe.dev",
  "Date/Publication": "2026-05-13 16:52:06 UTC",
  "RemoteUrl": "https://github.com/davideh-vt/delaydiscount",
  "RemoteRef": "HEAD",
  "RemoteSha": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 17:32:04 UTC",
    "User": "root"
  },
  "Author": "David Hinds [aut, cre],\nMarco Ferreira [aut],\nAllison Tegge [ctb],\nJeff Stein [ctb]",
  "Maintainer": "David Hinds <davideh@vt.edu>",
  "MD5sum": "b0060d715b9dbc24d293c75c327b0eea",
  "_user": "davideh-vt",
  "_type": "src",
  "_file": "delaydiscount_0.0.1.tar.gz",
  "_fileid": "5563f3c6d0c4a114b71bda8f0b49b18d3a00ad483218951ddc8668ad9316e884",
  "_filesize": 309332,
  "_sha256": "5563f3c6d0c4a114b71bda8f0b49b18d3a00ad483218951ddc8668ad9316e884",
  "_created": "2026-05-13T17:32:04.000Z",
  "_published": "2026-05-22T09:35:08.702Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77353805973,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6977212259"
    },
    {
      "job": 77353805850,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6977207808"
    },
    {
      "job": 77353805981,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6977204539"
    },
    {
      "job": 77353805668,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6977197571"
    },
    {
      "job": 77353805375,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6977164520"
    },
    {
      "job": 77353805385,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157390366"
    },
    {
      "job": 77353806067,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6977202583"
    },
    {
      "job": 77353806434,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6977205226"
    },
    {
      "job": 77353806244,
      "time": 153,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6977220616"
    }
  ],
  "_buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/davideh-vt/delaydiscount",
  "_commit": {
    "id": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
    "author": "David Edward Hinds <davideh@vt.edu>",
    "committer": "David Edward Hinds <davideh@vt.edu>",
    "message": "update installation instructions to reflect package being hosted on CRAN\n",
    "time": 1778691126
  },
  "_maintainer": {
    "name": "David Hinds",
    "email": "davideh@vt.edu",
    "login": "davideh-vt",
    "uuid": 145821135
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "davideh-vt",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 4
    },
    {
      "week": "2025-45",
      "n": 4
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2025-48",
      "n": 7
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 10
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 10
    },
    {
      "week": "2026-08",
      "n": 5
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 8
    },
    {
      "week": "2026-18",
      "n": 19
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davideh-vt",
      "count": 82,
      "uuid": 145821135
    }
  ],
  "_userbio": {
    "uuid": 145821135,
    "type": "user",
    "name": "davideh-vt"
  },
  "_downloads": {
    "count": 116,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/delaydiscount"
  },
  "_devurl": "https://github.com/davideh-vt/delaydiscount",
  "_pkgdown": "https://davideh-vt.github.io/delaydiscount/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/delaydiscount.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/davideh-vt/delaydiscount",
  "_realowner": "davideh-vt",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2026-05-05"
    }
  ],
  "_exports": [
    "check_input_preconditions",
    "dd_hyperbolic_model",
    "estimate_hyperbolic_model_params",
    "get_subj_est_ln_k",
    "hyperbolic_model_f_test",
    "jb_rule_check",
    "prepare_data_frame",
    "simulate_dataset"
  ],
  "_datasets": [
    {
      "name": "remedi",
      "title": "REMEDI data",
      "object": "remedi",
      "class": [
        "data.frame"
      ],
      "fields": [
        "study",
        "subj",
        "group",
        "delay",
        "indiff"
      ],
      "rows": 3038,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "check_input_preconditions",
      "title": "Check preconditions for an input data frame for the prepare_data_frame and jb_rule_check functions.",
      "topics": [
        "check_input_preconditions"
      ]
    },
    {
      "page": "dd_hyperbolic_model",
      "title": "This function gets model parameter estimates for each group, including hyperparameters and estimates of the variance components (the observation error and subject random effect). It also gets F-test results for pairwise equality for the hyperparameter for each pair of groups, and overall equality of all hyperparameters.",
      "topics": [
        "dd_hyperbolic_model"
      ]
    },
    {
      "page": "estimate_hyperbolic_model_params",
      "title": "Estimate the hyperparameters for each group, as well as the variance components of the model, using maximum likelihood estimation.",
      "topics": [
        "estimate_hyperbolic_model_params"
      ]
    },
    {
      "page": "get_subj_est_ln_k",
      "title": "Return ln(k) estimates for each subject.",
      "topics": [
        "get_subj_est_ln_k"
      ]
    },
    {
      "page": "hyperbolic_model_f_test",
      "title": "Perform an F-test for equality of some combination(s) of hyperparameters.",
      "topics": [
        "hyperbolic_model_f_test"
      ]
    },
    {
      "page": "jb_rule_check",
      "title": "Apply Johnson-Bickel rule checks to each subject.",
      "topics": [
        "jb_rule_check"
      ]
    },
    {
      "page": "prepare_data_frame",
      "title": "Prepare a data frame containing discounting for use on the other functions in this package.",
      "topics": [
        "prepare_data_frame"
      ]
    },
    {
      "page": "remedi",
      "title": "REMEDI data",
      "topics": [
        "remedi"
      ]
    },
    {
      "page": "simulate_dataset",
      "title": "Simulate a dataset from the hierarchical linearized hyperbolic model.",
      "topics": [
        "simulate_dataset"
      ]
    }
  ],
  "_readme": "https://github.com/davideh-vt/delaydiscount/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "delaydiscount.Rmd",
      "filename": "delaydiscount.html",
      "title": "delaydiscount",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Citation"
      ],
      "created": "2025-12-04 17:23:07",
      "modified": "2026-02-20 00:25:19",
      "commits": 7
    },
    {
      "source": "rule-check.Rmd",
      "filename": "rule-check.html",
      "title": "rule-check",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-12-21 22:28:16",
      "modified": "2026-04-15 17:58:03",
      "commits": 6
    },
    {
      "source": "simulate-dataset.Rmd",
      "filename": "simulate-dataset.html",
      "title": "simulate-dataset",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-04-27 19:28:46",
      "modified": "2026-04-30 17:20:36",
      "commits": 6
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "delaydiscount",
  "_universes": [
    "davideh-vt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-13T17:34:05.000Z",
      "distro": "noble",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "a83bb274ce7d32947b054eb3099bb7b6ec48374abd7a7f90e19e3229bcbf17df",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-13T17:33:51.000Z",
      "distro": "noble",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "a29da36c9935949a5cdde573f3dd73545cf17174693029053d2007da975a2741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-13T17:33:44.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "3ce63dce381659f34176d3582c08a2c990b3739e3523a2127134c93a95064926",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-13T17:33:27.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "07e3530a2aed5276b0c2c475f6529e0d390d30a7725dd642afded4ddee87df2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-13T17:33:28.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "4203f0bed86ed1c31b354f31e8cc71aecbd35b470968dd0c2741d3dacac1bb5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-13T17:33:34.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "a83aecb791a0ac6ad63d16d271eb0c996ad1c5b509bafe758177ff5525d60034",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-13T17:34:16.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "92ed0267ce16ce031419dfac35e96509ffe8b82f7d55582ecedde8c3ffeced23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-05-22T09:34:54.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "c86d1c42c6ccca87cc8d7f8ae44899823ab470bb5f5a984f87457905f7c5c17a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/25815453409"
    }
  ]
}