{
  "_id": "6ac4a950f511ae58c099f9c6",
  "Package": "ggdmc",
  "Type": "Package",
  "Title": "Hierarchical Bayesian Inference for Choice Response Time Models",
  "Version": "0.2.8.9",
  "Date": "2025-08-08",
  "Authors@R": "c(person(given = \"Yi-Shin\", family = \"Lin\", role = c(\"aut\", \"cre\"), email = \"yishinlin001@gmail.com\"))",
  "Maintainer": "Yi-Shin Lin <yishinlin001@gmail.com>",
  "Description": "Provides tools for fitting hierarchical Bayesian models of\nchoice and response time using Differential Evolution Markov\nChain Monte Carlo (DE-MCMC) sampling. Designed for cognitive\nscientists and psychologists, it supports models including the\nLinear Ballistic Accumulator (LBA) and Diffusion Decision Model\n(DDM), offering flexible parameter mapping and\ncondition-specific modelling. Implements fast, parallelised C++\nroutines for large-scale applications in decision modelling.\nCore functionality includes parameter sampling, simulation,\nmodel building, posterior recovery, and convergence\ndiagnostics. Sampling methods follow Turner et al. (2013)\n<doi:10.1037/a0032222>, Braak (2006)\n<doi:10.1007/s11222-006-8769-1>, and Hu & Tsui (2010)\n<doi:10.1016/j.csda.2008.10.025>. The parameter mapping and\ncondition-specific structure are based on Heathcote et al.\n(2018) <doi:10.3758/s13428-018-1067-y>.",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Repository": "https://yxlin.r-universe.dev",
  "Date/Publication": "2025-08-13 03:13:42 UTC",
  "RemoteUrl": "https://github.com/yxlin/ggdmc",
  "RemoteRef": "HEAD",
  "RemoteSha": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
  "Packaged": {
    "Date": "2026-10-04 12:37:16 UTC",
    "User": "root"
  },
  "Author": "Yi-Shin Lin [aut, cre]",
  "_user": "yxlin",
  "_type": "src",
  "_file": "ggdmc_0.2.8.9.tar.gz",
  "_fileid": "https://r2.ropensci.org/0c447ce17f71d52c1196c109d84a9ca517a3cbcfda4b35a999a7c8de0fd2972f",
  "_filesize": 7803961,
  "_sha256": "0c447ce17f71d52c1196c109d84a9ca517a3cbcfda4b35a999a7c8de0fd2972f",
  "_expires": "2027-01-12T12:43:43.000Z",
  "_created": "2026-10-04T12:37:16.000Z",
  "_published": "2026-10-06T07:54:56.265Z",
  "_jobs": [
    {
      "job": 112165146299,
      "time": 146,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11303343240"
    },
    {
      "job": 112165144858,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11302813849"
    },
    {
      "job": 112165146230,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11303761110"
    },
    {
      "job": 112165145881,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11303039166"
    },
    {
      "job": 112165143410,
      "time": 69,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165143334,
      "time": 197,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165143415,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165143328,
      "time": 286,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 112165144055,
      "time": 172,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11303378023"
    },
    {
      "job": 112165145588,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11303268481"
    },
    {
      "job": 112165145861,
      "time": 337,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11303109342"
    },
    {
      "job": 112165144627,
      "time": 170,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11303621501"
    },
    {
      "job": 112165145812,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11303282230"
    },
    {
      "job": 112165145811,
      "time": 321,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11303277498"
    },
    {
      "job": 112165146188,
      "time": 121,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11303820982"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218",
  "_status": "success",
  "_upstream": "https://github.com/yxlin/ggdmc",
  "_commit": {
    "id": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
    "author": "Yi-Shin Lin <yishinlin001@gmail.com>",
    "committer": "Yi-Shin Lin <yishinlin001@gmail.com>",
    "message": "rename 3_B_model.r\n",
    "time": 1755054822
  },
  "_maintainer": {
    "name": "Yi-Shin Lin",
    "email": "yishinlin001@gmail.com",
    "login": "yxlin",
    "description": "",
    "uuid": 4136578
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "version": ">= 0.10.7.5.0",
      "role": "LinkingTo"
    },
    {
      "package": "ggdmcHeaders",
      "role": "LinkingTo"
    },
    {
      "package": "ggdmcModel",
      "role": "Imports"
    },
    {
      "package": "ggdmcPrior",
      "role": "Imports"
    },
    {
      "package": "ggdmcLikelihood",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.7",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "yxlin",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [
    {
      "name": "v0.2.9-beta",
      "date": "2025-10-29"
    }
  ],
  "_stars": 19,
  "_contributors": [
    {
      "user": "yxlin",
      "count": 7,
      "uuid": 4136578
    }
  ],
  "_userbio": {
    "uuid": 4136578,
    "type": "user",
    "name": "Yi-Shin Lin",
    "followers": 12
  },
  "_downloads": {
    "count": 408,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggdmc"
  },
  "_devurl": "https://github.com/yxlin/ggdmc",
  "_searchresults": 30,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggdmc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yxlin/ggdmc",
  "_realowner": "yxlin",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3.5",
      "date": "2016-10-28"
    },
    {
      "version": "0.1.3.8",
      "date": "2017-03-28"
    },
    {
      "version": "0.1.3.9",
      "date": "2017-03-31"
    },
    {
      "version": "0.2.5.2",
      "date": "2018-09-01"
    },
    {
      "version": "0.2.5.6",
      "date": "2019-03-22"
    },
    {
      "version": "0.2.5.7",
      "date": "2019-03-25"
    },
    {
      "version": "0.2.5.8",
      "date": "2019-04-06"
    },
    {
      "version": "0.2.6.0",
      "date": "2019-04-29"
    },
    {
      "version": "0.2.6.2",
      "date": "2025-04-13"
    }
  ],
  "_exports": [
    "compare",
    "compare_many",
    "gelman",
    "initialise_phi",
    "initialise_theta",
    "plot",
    "plot_thetas",
    "prepare_theta_data",
    "prepare_thetas_data",
    "print",
    "RebuildHyper",
    "RebuildPosterior",
    "RebuildPosteriors",
    "RestartSampling",
    "RestartSampling_hyper",
    "RestartSampling_subject",
    "run",
    "run_hyper",
    "run_subject",
    "set_configs",
    "set_up_new_samples",
    "setDEInput",
    "setThetaInput",
    "StartSampling",
    "StartSampling_hyper",
    "StartSampling_subject",
    "summary",
    "summary_many"
  ],
  "_help": [
    {
      "page": "compare",
      "title": "Compare True Parameters to Estimated Quantiles",
      "topics": [
        "compare"
      ]
    },
    {
      "page": "compare_many",
      "title": "Compare Multiple Posterior Distributions Against True Values",
      "topics": [
        "compare_many"
      ]
    },
    {
      "page": "mcmc_config",
      "title": "MCMC Configuration Class and Constructor",
      "topics": [
        "config-class",
        "set_configs"
      ]
    },
    {
      "page": "de_input",
      "title": "Differential Evolution (DE) MCMC Input Configuration",
      "topics": [
        "de_input-class",
        "print,de_input-method",
        "setDEInput"
      ]
    },
    {
      "page": "gelman",
      "title": "Brook-Gelman Diagnostic (R-hat)",
      "topics": [
        "gelman",
        "gelman,posterior-method",
        "gelman-methods"
      ]
    },
    {
      "page": "ggdmc",
      "title": "Hierarchical Bayesian Inference for Choice Response Time Models",
      "topics": [
        "ggdmc-package",
        "ggdmc"
      ]
    },
    {
      "page": "initialise_phi",
      "title": "Initialize Hierarchical Parameters (Phi) for MCMC Sampling",
      "topics": [
        "initialise_phi"
      ]
    },
    {
      "page": "initialise_theta",
      "title": "Initialise Theta Parameters for MCMC Sampling",
      "topics": [
        "initialise_theta"
      ]
    },
    {
      "page": "plot_thetas",
      "title": "Plot Theta Parameters using Lattice Graphics",
      "topics": [
        "plot_thetas"
      ]
    },
    {
      "page": "plot.posterior-method",
      "title": "Plot Posterior Distributions or Traces using Lattice",
      "topics": [
        "plot,posterior-method"
      ]
    },
    {
      "page": "posterior-class",
      "title": "An S4 class to represent an object storing posterior samples.",
      "topics": [
        "posterior-class"
      ]
    },
    {
      "page": "prepare_theta_data",
      "title": "Construct Data Table from the Theta Estiamtes",
      "topics": [
        "prepare_theta_data"
      ]
    },
    {
      "page": "prepare_thetas_data",
      "title": "Prepare Theta Parameters Data from MCMC Samples",
      "topics": [
        "prepare_thetas_data"
      ]
    },
    {
      "page": "rebuild_posteriors",
      "title": "Rebuild Posterior Objects from MCMC Chains",
      "topics": [
        "RebuildHyper",
        "RebuildPosterior",
        "RebuildPosteriors"
      ]
    },
    {
      "page": "set_up_new_samples",
      "title": "Set Theta Storage for Model",
      "topics": [
        "set_up_new_samples"
      ]
    },
    {
      "page": "setThetaInput",
      "title": "Create a theta_input Object for MCMC Configuration",
      "topics": [
        "setThetaInput"
      ]
    },
    {
      "page": "sampling_functions",
      "title": "Initialise or Continue MCMC Sampling",
      "topics": [
        "RestartSampling",
        "RestartSampling_hyper",
        "RestartSampling_subject",
        "StartSampling",
        "StartSampling_hyper",
        "StartSampling_subject"
      ]
    },
    {
      "page": "summary_many",
      "title": "Summarise Multiple Posterior Objects",
      "topics": [
        "summary_many"
      ]
    },
    {
      "page": "summary.posterior-method",
      "title": "Summarise Posterior Distribution",
      "topics": [
        "summary,posterior-method"
      ]
    },
    {
      "page": "theta_input-class",
      "title": "An S4 class to store MCMC sampling parameters.",
      "topics": [
        "theta_input-class"
      ]
    },
    {
      "page": "theta_input-print",
      "title": "Print Method for theta_input Objects",
      "topics": [
        "print,theta_input-method",
        "theta_input-print"
      ]
    }
  ],
  "_readme": "https://github.com/yxlin/ggdmc/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "ggdmcHeaders",
    "ggdmcLikelihood",
    "ggdmcModel",
    "ggdmcPrior",
    "lattice",
    "matrixStats",
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.45484486000851,
  "_indexed": true,
  "_nocasepkg": "ggdmc",
  "_universes": [
    "yxlin"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:39:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/1eba9e6ce14d6325822ed67fcda634b732732e4463d7950759c1217b7a0905c2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:39:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/d1c4c66e3ffc5257f09f5fad6a0f5788d09da3942944dddcd0d4ab2e387d11e0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:39:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/64bae31d7d41061073af8c22cf561c79cf8aaf8506900cfbe481f3e6c536633a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:39:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/455e67be8c295400520afe8e88f94116f381f132ec22674aa7de2d0f5081ea8e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:39:12.000Z",
      "arch": "emscripten",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/485d268708929e37ebffb1e14fe06fca2c986e4aed700b61789970a5276e9313",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:42:11.000Z",
      "arch": "aarch64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/6c9a1ee8e7b728b1bdd38c48225c6264e7ee0386727380b182611c49386f7676",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:38:56.000Z",
      "arch": "x86_64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/b106c598785516dab4bdd17f1bd105b319d2bb172b8b2b3239da0a0a54fa151d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:38:29.000Z",
      "arch": "x86_64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/7af862a2518500ae33d29e6c76c53ef79d657fa9a696b9f3290b257d4d6299db",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:41:53.000Z",
      "arch": "aarch64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/8d73292a9cd87bed98923b1b38a2294c661071332f67e2f104620280137c4907",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.8.9",
      "date": "2026-10-04T12:38:34.000Z",
      "arch": "x86_64",
      "commit": "cee9795cce38dc606ce5bdf5436e7d92b88cdda9",
      "fileid": "https://r2.ropensci.org/2ea522110f7621106828d231947bad98fe130cf52bcf2adc4a39298f5e077714",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yxlin/actions/runs/37202585218"
    }
  ]
}