{
  "_id": "6ab22e643d719c1f84089ed5",
  "Package": "RegDDM",
  "Title": "Generalized Linear Regression with DDM",
  "Version": "1.1",
  "Authors@R": "person(\"Zekai\", \"Jin\", email = \"Jin.Zekai@nyspi.columbia.edu\", role = c(\"aut\", \"cre\"))",
  "Description": "Drift-Diffusion Model (DDM) has been widely used to model\nbinary decision-making tasks, and many research studies the\nrelationship between DDM parameters and other characteristics\nof the subject. This package uses 'RStan' to perform\ngeneralized liner regression analysis over DDM parameters via a\nsingle Bayesian Hierarchical model. Compared to estimating DDM\nparameters followed by a separate regression model, 'RegDDM'\nreduces bias and improves statistical power.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/biorabbit/RegDDM",
  "BugReports": "https://github.com/biorabbit/RegDDM/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev",
  "Repository": "https://biorabbit.r-universe.dev",
  "Date/Publication": "2026-03-31 04:35:35 UTC",
  "RemoteUrl": "https://github.com/biorabbit/regddm",
  "RemoteRef": "HEAD",
  "RemoteSha": "150906914fe2dccddce4da54651033103c76e6f4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-22 07:26:13 UTC",
    "User": "root"
  },
  "Author": "Zekai Jin [aut, cre]",
  "Maintainer": "Zekai Jin <Jin.Zekai@nyspi.columbia.edu>",
  "_user": "biorabbit",
  "_type": "src",
  "_file": "RegDDM_1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/97cb96f556c7e5a4a4bed9fc43f781a403909bb1164bc7e6fcff86f77085c6ce",
  "_filesize": 179244,
  "_sha256": "97cb96f556c7e5a4a4bed9fc43f781a403909bb1164bc7e6fcff86f77085c6ce",
  "_expires": "2026-12-31T07:29:38.000Z",
  "_created": "2026-09-22T07:26:13.000Z",
  "_published": "2026-09-22T07:29:40.142Z",
  "_jobs": [
    {
      "job": 106654247425,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10681609785"
    },
    {
      "job": 106654247467,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10682165404"
    },
    {
      "job": 106654247416,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10681459949"
    },
    {
      "job": 106654247447,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10682091087"
    },
    {
      "job": 106653132055,
      "time": 250,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10682110579"
    },
    {
      "job": 106654247453,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10681701043"
    },
    {
      "job": 106654247533,
      "time": 131,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10682620238"
    },
    {
      "job": 106654247737,
      "time": 96,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10681965536"
    },
    {
      "job": 106654247548,
      "time": 117,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10682695060"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799",
  "_status": "success",
  "_upstream": "https://github.com/biorabbit/regddm",
  "_commit": {
    "id": "150906914fe2dccddce4da54651033103c76e6f4",
    "author": "biorabbit <biorabbit@pku.edu.cn>",
    "committer": "biorabbit <biorabbit@pku.edu.cn>",
    "message": "improved clearity of the code\n",
    "time": 1774931735
  },
  "_maintainer": {
    "name": "Zekai Jin",
    "email": "jin.zekai@nyspi.columbia.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "rstan",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rtdists",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "biorabbit",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-14",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "biorabbit",
      "count": 80,
      "uuid": 112989870
    }
  ],
  "_userbio": {
    "uuid": 112989870,
    "type": "user",
    "name": "biorabbit",
    "followers": 1
  },
  "_downloads": {
    "count": 237,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RegDDM"
  },
  "_devurl": "https://github.com/biorabbit/regddm",
  "_searchresults": 4,
  "_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/RegDDM.html"
  ],
  "_homeurl": "https://github.com/biorabbit/regddm",
  "_realowner": "biorabbit",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-12-05"
    },
    {
      "version": "1.1",
      "date": "2025-07-01"
    }
  ],
  "_exports": [
    "generate_sim_data",
    "get_stan_fit",
    "regddm"
  ],
  "_datasets": [
    {
      "name": "regddm_data",
      "title": "Simulated dataset from from Cognitive Reserve Study.",
      "object": "regddm_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "generate_sim_data",
      "title": "Generate simulated binary decision data using DDM",
      "topics": [
        "generate_sim_data"
      ]
    },
    {
      "page": "get_stan_fit",
      "title": "Get the rstan fit of regddmfit objects",
      "topics": [
        "get_stan_fit"
      ]
    },
    {
      "page": "print.regddmfit",
      "title": "Printed summary of 'RegDDM' fit object",
      "topics": [
        "print.regddmfit"
      ]
    },
    {
      "page": "regddm",
      "title": "Bayesian hierarchical generalized linear regression using Drift-Diffusion Model",
      "topics": [
        "regddm"
      ]
    },
    {
      "page": "regddm_data",
      "title": "Simulated dataset from from Cognitive Reserve Study.",
      "topics": [
        "regddm_data"
      ]
    },
    {
      "page": "regddmfit",
      "title": "Class of models fitted by 'RegDDM'",
      "topics": [
        "regddmfit"
      ]
    },
    {
      "page": "summary.regddmfit",
      "title": "Summary of 'RegDDM' fit object",
      "topics": [
        "summary.regddmfit"
      ]
    }
  ],
  "_readme": "https://github.com/biorabbit/regddm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "evd",
    "expm",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gsl",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "msm",
    "mvtnorm",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rtdists",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "regddm",
  "_universes": [
    "biorabbit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-09-22T07:28:43.000Z",
      "distro": "resolute",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/854731fea85dd2ffa127f1cc0278d461799b4c9334a6bbb911bef36526c30df6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-09-22T07:28:49.000Z",
      "distro": "resolute",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/c18f7f20e5e8c064354173ec99a4d8a39eb4da723e1c24ce551698f8c6ee892e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-09-22T07:28:33.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/69da4980951c7bbf944ed6be2139eae6ec451e857e38d59e62a8b59fa8a3a656",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-09-22T07:28:44.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/aee2ac03b410b1e1efa509c0f73aeac67798723fff329c3cde8f8acdfc8766d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-09-22T07:28:46.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/aa668b03f0b79cd31966a379b511193efd01aeab9ec71bc10f197a5728d48daf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-09-22T07:28:07.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/01d3bd5b826661a38097c5611fdc8a071936c87f49bc9038640fad20d7f92598",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-09-22T07:27:41.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/53e9a0256e593c6e396019d7ac224e119bdbc1541efa962e21c03861e777ee1b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1",
      "date": "2026-09-22T07:27:56.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "https://r2.ropensci.org/705665d571ed82d218ccf8372c72ed22949232be4948d2bcee7cbf6e3c109e08",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/35699219799"
    }
  ]
}