{
  "_id": "6ae6ff552e87f76f20acc55c",
  "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-11-01 08:36:26 UTC",
    "User": "root"
  },
  "Author": "David Hinds [aut, cre],\nMarco Ferreira [aut],\nAllison Tegge [ctb],\nJeff Stein [ctb]",
  "Maintainer": "David Hinds <davideh@vt.edu>",
  "_user": "davideh-vt",
  "_type": "src",
  "_file": "delaydiscount_0.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/a80cbccb82bd894a56e90d8d3771f644e6e18acff74a26a16c5701b17d2ddb9b",
  "_filesize": 307064,
  "_sha256": "a80cbccb82bd894a56e90d8d3771f644e6e18acff74a26a16c5701b17d2ddb9b",
  "_expires": "2027-02-09T08:58:59.000Z",
  "_created": "2026-11-01T08:36:26.000Z",
  "_published": "2026-11-01T08:59:01.174Z",
  "_upstream": "https://github.com/davideh-vt/delaydiscount",
  "_status": "success",
  "_maintainer": {
    "name": "David Hinds",
    "email": "davideh@vt.edu",
    "login": "davideh-vt",
    "description": "",
    "uuid": 145821135
  },
  "_jobs": [
    {
      "job": 124797860538,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13076049908"
    },
    {
      "job": 124797860565,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13076239455"
    },
    {
      "job": 124797860527,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13076917467"
    },
    {
      "job": 124797860541,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13077087268"
    },
    {
      "job": 124797277055,
      "time": 168,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13076298843"
    },
    {
      "job": 124797860526,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13076359060"
    },
    {
      "job": 124797860542,
      "time": 64,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13076562825"
    },
    {
      "job": 124797860556,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13076443409"
    },
    {
      "job": 124797860650,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13077120394"
    }
  ],
  "_buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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-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",
    "followers": 0
  },
  "_downloads": {
    "count": 207,
    "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.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/delaydiscount.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "delaydiscount",
  "_universes": [
    "davideh-vt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-11-01T08:38:19.000Z",
      "distro": "resolute",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/4e8188af5bd83c8962744f0d8995eed459798e39341be1f01a101845d48e436f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-11-01T08:38:05.000Z",
      "distro": "resolute",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/d529654a0e140080d2a042aa40d22fd9e54fc13d5153c01b5a4f525dea79c5cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-01T08:54:47.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/0a25dce4116656e2ce3602d5ca8eef9a0cea71aee8d2a34c64b4ebdf5aff6e80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-11-01T08:57:34.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/9712c53663179b2595bc66c4b04c53c01ecc8a235ecd1a526d03643f1067dfc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-11-01T08:38:20.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/82629b8599e51112dbaf4503872d33f095a3bc4c16b9be5f2ed0a0f2c918b922",
      "status": "success",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-01T08:37:18.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/b6e8736e7ed3d2638b666ba568c5929550ffd3d1472f5e17cbf79a820fa99f42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-01T08:37:34.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/0abfb6ff21cb70ad5cb437e7e51033eaeffc2d437860fd747fe775ed5d8599d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-11-01T08:37:34.000Z",
      "commit": "87ca5688ebfe7ba448205acb19cf0c8acc7bdf50",
      "fileid": "https://r2.ropensci.org/c4d7da9583a5cad07516bba24d7b800f44d5f22a5dc97eb67d30d9be81ccedbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davideh-vt/actions/runs/41289365941"
    }
  ]
}