{
  "_id": "6a1d459f1d7bb097a0a4205c",
  "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": "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-06-01 08:37:49 UTC",
    "User": "root"
  },
  "Author": "Zekai Jin [aut, cre]",
  "Maintainer": "Zekai Jin <Jin.Zekai@nyspi.columbia.edu>",
  "MD5sum": "2d1675a4ffbce62c443b0282106ef14d",
  "_user": "biorabbit",
  "_type": "src",
  "_file": "RegDDM_1.1.tar.gz",
  "_fileid": "53fa2f69087d5464145bedb38793f9ed5ba5cf94e9b9a64bd16b420d357dd971",
  "_filesize": 178373,
  "_sha256": "53fa2f69087d5464145bedb38793f9ed5ba5cf94e9b9a64bd16b420d357dd971",
  "_created": "2026-06-01T08:37:49.000Z",
  "_published": "2026-06-01T08:41:03.150Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78815641084,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326994856"
    },
    {
      "job": 78815641096,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326993436"
    },
    {
      "job": 78815641059,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326983387"
    },
    {
      "job": 78815641094,
      "time": 156,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326983070"
    },
    {
      "job": 78815099989,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326940183"
    },
    {
      "job": 78815641133,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326985203"
    },
    {
      "job": 78815641093,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326984875"
    },
    {
      "job": 78815641170,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326979841"
    },
    {
      "job": 78815641122,
      "time": 160,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326992969"
    }
  ],
  "_buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": "2025-27",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "biorabbit",
      "count": 80,
      "uuid": 112989870
    }
  ],
  "_userbio": {
    "uuid": 112989870,
    "type": "user",
    "name": "biorabbit"
  },
  "_downloads": {
    "count": 131,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RegDDM"
  },
  "_devurl": "https://github.com/biorabbit/regddm",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RegDDM.html",
    "manual.pdf"
  ],
  "_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",
    "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.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "regddm",
  "_universes": [
    "biorabbit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-01T08:40:13.000Z",
      "distro": "noble",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "47663aef61ceed42e44f9775da3f1975c96e7f890acbc1eedbd78fa709969ece",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-06-01T08:40:12.000Z",
      "distro": "noble",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "da8b1597c2f18dafa752f07e4eae50e3b8dd0a5bfcec61a77813ab3ef59a7d9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-01T08:39:51.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "1955bf15bd5113018bfef4026f206f83cc4acf3d8faa33efd070c68152b0302f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1",
      "date": "2026-06-01T08:39:49.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "ea72ee7c5ea06b7f5d88de72906e7162e5733b6b058084a8647ca9a2d060d25f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-06-01T08:40:18.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "5d443b67680f747033a0db40e30c1c9e6b722bf997ac1f4dcbc9897c6b3cd0d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-01T08:39:41.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "5728c4f791ca643718cddf444eab4788ed455585031dc78ff2abec05eb319134",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-01T08:39:21.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "a723ae1da5eaf05d27a4bfad4ee8819e684552fa38013ac82218792ffefb0f30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-06-01T08:40:05.000Z",
      "commit": "150906914fe2dccddce4da54651033103c76e6f4",
      "fileid": "b9e3a106c8f6da1062cd58d23b5e92a34edff368ac7a8cce8f48cbdbc6e97186",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biorabbit/actions/runs/26744091091"
    }
  ]
}