{
  "_id": "6a169525acfb0bcc41d7ad66",
  "Package": "DMCfun",
  "Type": "Package",
  "Title": "Diffusion Model of Conflict (DMC) in Reaction Time Tasks",
  "Version": "4.0.4",
  "Date": "2024-10-08",
  "Authors@R": "c(\nperson(given = \"Ian G.\", family = \"Mackenzie\", email=\"ian.mackenzie@uni-tuebingen.de\", role = c(\"cre\", \"aut\")),\nperson(given = \"Carolin\", family = \"Dudschig\", email=\"carolin.dudschig@uni-tuebingen.de\", role = c(\"aut\"))\n)",
  "Description": "DMC model simulation detailed in Ulrich, R., Schroeter,\nH., Leuthold, H., & Birngruber, T. (2015). Automatic and\ncontrolled stimulus processing in conflict tasks: Superimposed\ndiffusion processes and delta functions. Cognitive Psychology,\n78, 148-174. Ulrich et al. (2015)\n<doi:10.1016/j.cogpsych.2015.02.005>. Decision processes within\nchoice reaction-time (CRT) tasks are often modelled using\nevidence accumulation models (EAMs), a variation of which is\nthe Diffusion Decision Model (DDM, for a review, see Ratcliff &\nMcKoon, 2008). Ulrich et al. (2015) introduced a Diffusion\nModel for Conflict tasks (DMC). The DMC model combines common\nfeatures from within standard diffusion models with the\naddition of superimposed controlled and automatic activation.\nThe DMC model is used to explain distributional reaction time\n(and error rate) patterns in common behavioural conflict-like\ntasks (e.g., Flanker task, Simon task). This R-package\nimplements the DMC model and provides functionality to fit the\nmodel to observed data. Further details are provided in the\nfollowing paper: Mackenzie, I.G., & Dudschig, C. (2021).\nDMCfun: An R package for fitting Diffusion Model of Conflict\n(DMC) to reaction time and error rate data. Methods in\nPsychology, 100074. <doi:10.1016/j.metip.2021.100074>.",
  "URL": "https://github.com/igmmgi/DMCfun,\nhttps://CRAN.R-project.org/package=DMCfun,\nhttps://www.sciencedirect.com/science/article/pii/S259026012100031X",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://igmmgi.r-universe.dev",
  "Date/Publication": "2026-01-27 06:21:23 UTC",
  "RemoteUrl": "https://github.com/igmmgi/dmcfun",
  "RemoteRef": "HEAD",
  "RemoteSha": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 06:46:18 UTC",
    "User": "root"
  },
  "Author": "Ian G. Mackenzie [cre, aut],\nCarolin Dudschig [aut]",
  "Maintainer": "Ian G. Mackenzie <ian.mackenzie@uni-tuebingen.de>",
  "MD5sum": "a2f53eb9ae85ad61ee7c711d3693c4c4",
  "_user": "igmmgi",
  "_type": "src",
  "_file": "DMCfun_4.0.4.tar.gz",
  "_fileid": "f7475b195f92e60ffc6a75e9f3316aa44230596f97870033c0b2bbfcdfbbe8f2",
  "_filesize": 415470,
  "_sha256": "f7475b195f92e60ffc6a75e9f3316aa44230596f97870033c0b2bbfcdfbbe8f2",
  "_created": "2026-05-27T06:46:18.000Z",
  "_published": "2026-05-27T06:54:29.273Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78022689470,
      "time": 220,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233746862"
    },
    {
      "job": 78022689479,
      "time": 233,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233750131"
    },
    {
      "job": 78022689495,
      "time": 203,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233742474"
    },
    {
      "job": 78022689471,
      "time": 228,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233748870"
    },
    {
      "job": 78022689516,
      "time": 206,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233758894"
    },
    {
      "job": 78022689463,
      "time": 331,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233776562"
    },
    {
      "job": 78022689487,
      "time": 231,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233759855"
    },
    {
      "job": 78022689534,
      "time": 418,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233799997"
    },
    {
      "job": 78022275554,
      "time": 193,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233689268"
    },
    {
      "job": 78022689414,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233723385"
    },
    {
      "job": 78022689428,
      "time": 257,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233756494"
    },
    {
      "job": 78022689462,
      "time": 293,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233765701"
    },
    {
      "job": 78022689426,
      "time": 200,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233741369"
    }
  ],
  "_buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/igmmgi/dmcfun",
  "_commit": {
    "id": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
    "author": "igmmgi <ian.mackenzie@uni-tuebingen.de>",
    "committer": "igmmgi <ian.mackenzie@uni-tuebingen.de>",
    "message": "plot update\n",
    "time": 1769494883
  },
  "_maintainer": {
    "name": "Ian G. Mackenzie",
    "email": "ian.mackenzie@uni-tuebingen.de",
    "login": "igmmgi",
    "description": "",
    "uuid": 43656949
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "DEoptim",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.16",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "igmmgi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 22,
  "_contributors": [
    {
      "user": "igmmgi",
      "count": 465,
      "uuid": 43656949
    },
    {
      "user": "likao",
      "count": 2,
      "uuid": 1329662
    }
  ],
  "_userbio": {
    "uuid": 43656949,
    "type": "user",
    "name": "igmmgi"
  },
  "_downloads": {
    "count": 227,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DMCfun"
  },
  "_devurl": "https://github.com/igmmgi/dmcfun",
  "_searchresults": 5,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DMCfun.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/igmmgi/dmcfun",
  "_realowner": "igmmgi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.12.0",
      "date": "2020-07-01"
    },
    {
      "version": "0.12.1",
      "date": "2020-07-02"
    },
    {
      "version": "0.15.0",
      "date": "2020-09-20"
    },
    {
      "version": "1.1.0",
      "date": "2020-11-25"
    },
    {
      "version": "1.3.0",
      "date": "2021-01-10"
    },
    {
      "version": "2.0.0",
      "date": "2021-09-20"
    },
    {
      "version": "2.0.2",
      "date": "2021-10-25"
    },
    {
      "version": "3.5.2",
      "date": "2024-01-09"
    },
    {
      "version": "3.5.4",
      "date": "2024-02-24"
    },
    {
      "version": "4.0.1",
      "date": "2024-09-16"
    }
  ],
  "_exports": [
    "addDataDF",
    "addErrorBars",
    "calculateBinProbabilities",
    "calculateCAF",
    "calculateCostValueCS",
    "calculateCostValueGS",
    "calculateCostValueRMSE",
    "calculateCostValueSPE",
    "calculateDelta",
    "createDF",
    "dmcCombineObservedData",
    "dmcFit",
    "dmcFitDE",
    "dmcFitSubject",
    "dmcFitSubjectDE",
    "dmcObservedData",
    "dmcSim",
    "dmcSimApp",
    "dmcSims",
    "errDist",
    "rtDist"
  ],
  "_datasets": [
    {
      "name": "flankerData",
      "title": "A summarised dataset: This is the flanker task data from Ulrich et al. (2015)",
      "object": "flankerData",
      "class": [
        "dmcob"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "simonData",
      "title": "A summarised dataset: This is the simon task data from Ulrich et al. (2015)",
      "object": "simonData",
      "class": [
        "dmcob"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "addDataDF",
      "title": "addDataDF",
      "topics": [
        "addDataDF"
      ]
    },
    {
      "page": "addErrorBars",
      "title": "addErrorBars: Add errorbars to plot.",
      "topics": [
        "addErrorBars"
      ]
    },
    {
      "page": "calculateBinProbabilities",
      "title": "calculateBinProbabilities",
      "topics": [
        "calculateBinProbabilities"
      ]
    },
    {
      "page": "calculateCAF",
      "title": "calculateCAF",
      "topics": [
        "calculateCAF"
      ]
    },
    {
      "page": "calculateCostValueCS",
      "title": "calculateCostValueCS",
      "topics": [
        "calculateCostValueCS"
      ]
    },
    {
      "page": "calculateCostValueGS",
      "title": "calculateCostValueGS",
      "topics": [
        "calculateCostValueGS"
      ]
    },
    {
      "page": "calculateCostValueRMSE",
      "title": "calculateCostValueRMSE",
      "topics": [
        "calculateCostValueRMSE"
      ]
    },
    {
      "page": "calculateCostValueSPE",
      "title": "calculateCostValueSPE",
      "topics": [
        "calculateCostValueSPE"
      ]
    },
    {
      "page": "calculateDelta",
      "title": "calculateDelta",
      "topics": [
        "calculateDelta"
      ]
    },
    {
      "page": "createDF",
      "title": "createDF",
      "topics": [
        "createDF"
      ]
    },
    {
      "page": "dmcCombineObservedData",
      "title": "dmcCombineObservedData",
      "topics": [
        "dmcCombineObservedData"
      ]
    },
    {
      "page": "dmcCppR",
      "title": "dmcCppR",
      "topics": [
        "dmcCppR"
      ]
    },
    {
      "page": "dmcFit",
      "title": "dmcFit",
      "topics": [
        "dmcFit"
      ]
    },
    {
      "page": "dmcFitDE",
      "title": "dmcFitDE",
      "topics": [
        "dmcFitDE"
      ]
    },
    {
      "page": "dmcFitSubject",
      "title": "dmcFitSubject",
      "topics": [
        "dmcFitSubject"
      ]
    },
    {
      "page": "dmcFitSubjectDE",
      "title": "dmcFitSubjectDE",
      "topics": [
        "dmcFitSubjectDE"
      ]
    },
    {
      "page": "dmcObservedData",
      "title": "dmcObservedData",
      "topics": [
        "dmcObservedData"
      ]
    },
    {
      "page": "dmcSim",
      "title": "dmcSim",
      "topics": [
        "dmcSim"
      ]
    },
    {
      "page": "dmcSimApp",
      "title": "dmcSimApp",
      "topics": [
        "dmcSimApp"
      ]
    },
    {
      "page": "dmcSims",
      "title": "dmcSims: Run multiple dmc simulations",
      "topics": [
        "dmcSims"
      ]
    },
    {
      "page": "errDist",
      "title": "errDist",
      "topics": [
        "errDist"
      ]
    },
    {
      "page": "flankerData",
      "title": "A summarised dataset: This is the flanker task data from Ulrich et al. (2015)",
      "topics": [
        "flankerData"
      ]
    },
    {
      "page": "mean.dmcfit_subject",
      "title": "mean.dmcfit",
      "topics": [
        "mean.dmcfit_subject"
      ]
    },
    {
      "page": "plot.dmcfit",
      "title": "plot.dmcfit: Plot observed + fitted data",
      "topics": [
        "plot.dmcfit"
      ]
    },
    {
      "page": "plot.dmcfit_subject",
      "title": "plot.dmcfit_subject: Plot observed + fitted data",
      "topics": [
        "plot.dmcfit_subject"
      ]
    },
    {
      "page": "plot.dmcfits",
      "title": "plot.dmcfits: Plot observed + fitted data",
      "topics": [
        "plot.dmcfits"
      ]
    },
    {
      "page": "plot.dmcfits_subject",
      "title": "plot.dmcfits_subject: Plot observed + fitted data",
      "topics": [
        "plot.dmcfits_subject"
      ]
    },
    {
      "page": "plot.dmclist",
      "title": "plot.dmclist: Plot delta plots from multiple dmc simulations.",
      "topics": [
        "plot.dmclist"
      ]
    },
    {
      "page": "plot.dmcob",
      "title": "plot.dmcob: Plot observed data",
      "topics": [
        "plot.dmcob"
      ]
    },
    {
      "page": "plot.dmcobs",
      "title": "plot.dmcobs: Plot combined observed data",
      "topics": [
        "plot.dmcobs"
      ]
    },
    {
      "page": "plot.dmcsim",
      "title": "plot.dmcsim: Plot dmc simulation",
      "topics": [
        "plot.dmcsim"
      ]
    },
    {
      "page": "rtDist",
      "title": "rtDist",
      "topics": [
        "rtDist"
      ]
    },
    {
      "page": "simonData",
      "title": "A summarised dataset: This is the simon task data from Ulrich et al. (2015)",
      "topics": [
        "simonData"
      ]
    },
    {
      "page": "summary.dmcfit",
      "title": "summary.dmcfit: dmc fit aggregate summary",
      "topics": [
        "summary.dmcfit"
      ]
    },
    {
      "page": "summary.dmcfit_subject",
      "title": "summary.dmcfit_subject: dmcfit individual subject",
      "topics": [
        "summary.dmcfit_subject"
      ]
    },
    {
      "page": "summary.dmcfits",
      "title": "summary.dmcfits: dmc fit aggregate summary (2+ data sets)",
      "topics": [
        "summary.dmcfits"
      ]
    },
    {
      "page": "summary.dmcfits_subject",
      "title": "summary.dmcfits_subject: dmc fit aggregate summary",
      "topics": [
        "summary.dmcfits_subject"
      ]
    },
    {
      "page": "summary.dmcsim",
      "title": "summary.dmcsim: dmc simulation summary",
      "topics": [
        "summary.dmcsim"
      ]
    }
  ],
  "_readme": "https://github.com/igmmgi/dmcfun/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cpp11",
    "DEoptim",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pbapply",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.041392685158225,
  "_indexed": true,
  "_nocasepkg": "dmcfun",
  "_universes": [
    "igmmgi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-27T06:49:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "991ba6891d97ab17666bbeb016e01f9b5992a56ab15d09aaaf4d156c45601311",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-27T06:49:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "5020b6c6d9c464ea84e1f710e4f6bb0886db67a40a6b2705b130c9da4ef039f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-27T06:48:54.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "c2eacadf0f0c4cab10831ee1bc3d0c3e74057f7297bef600fc4c7e9e458a61cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "4.0.4",
      "date": "2026-05-27T06:48:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "8982a4109ffd415b8521d1247b3c9075e8d0038ec21c1cc89e76a4405e60d3ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-27T06:50:08.000Z",
      "arch": "aarch64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "dab82e46fd60ddc06d32f4cec57da3f3e761d08b161d88c6ade323a043387997",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-27T06:50:26.000Z",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "6c1ff9210a95970e93e6832739b2509338aea0a731b35ba77ec21f10d9ea28f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-27T06:49:57.000Z",
      "arch": "aarch64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "879cd4f9035a6d9462b076e691a9a13b05bfd702bea4f2849efabe99eb048c61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "4.0.4",
      "date": "2026-05-27T06:51:05.000Z",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "29a7f97eebe5d58862ae3db1366e91103c9da938013bb94cbf57f140b5045d57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "4.0.4",
      "date": "2026-05-27T06:48:47.000Z",
      "arch": "emscripten",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "d09a1411d509ca92b4dc5f8cca90e82c4a6ea8fcb1c2346575167e8050c9a5cd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-27T06:48:20.000Z",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "f33ad0cb0183045ff3adddab264d4045fa467cef32f9783e4c66757a5e8524e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-27T06:49:18.000Z",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "e46c1fb0a96a075164a640fc2233e3aee2f431dc2ea986f28044c78bc0d43d49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "4.0.4",
      "date": "2026-05-27T06:47:55.000Z",
      "arch": "x86_64",
      "commit": "e19ebc4be0fbd45c126fa8a6eb46de8fdc091949",
      "fileid": "3a9d4ac51e209fe78aa2f94f82c7d2142419f811e75c973e5833f8d0aa97019c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/igmmgi/actions/runs/26495373126"
    }
  ]
}