Estimating (Time-Dependent) Drift Diffusion Models
Overview
Fit and explore Drift Diffusion Models (DDMs), a common tool in psychology for describing decision processes in simple tasks. It can handle both time-independent and time-dependent DDMs. You either choose prebuilt models or create your own, and the package takes care of model predictions and parameter estimation. Model predictions are derived via the numerical solutions provided by Richter, Ulrich, and Janczyk (2023, doi:10.1016/j.jmp.2023.102756).
Minor
- Avoid negative standard deviations when drawing lower level parameters during
hierarchical Bayesian estimation.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-19
- ERROR12 OK, 1 ERROR2026-09-25
- OK13 OK2026-09-24
- ERROR12 OK, 1 ERROR2026-09-11
- OK13 OK2026-09-04
Show 16 earlier changesHide 16 earlier changes
- ERROR12 OK, 1 ERROR2026-08-30
- OK13 OK2026-08-27
- ERROR12 OK, 1 ERROR2026-08-05
- NOTE12 OK, 1 NOTE2026-08-02
- ERROR12 OK, 1 ERROR2026-07-26
- OK13 OK2026-07-22
- ERROR12 OK, 1 ERROR2026-07-09
- OK13 OK2026-07-08
- ERROR12 OK, 1 ERROR2026-06-30
- OK13 OK2026-06-29
- ERROR11 OK, 2 ERROR2026-06-24
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 166 (109 internal)includes a package overview page
- Examples that run
- 100%48 run in a plain check
- Exported functions with examples
- 87%
- Documented parameters
- 87%
- Return-value docs
- 100%
- Help pages citing references
- 4% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
Commits over time
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/bucky2177/driftdm on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-12 · The repository has a site deploy workflow
pkgdown site last built 2026-08-12, before release 0.3.3 (2026-08-23)
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.3Latest
- 0.3.22026-06-06 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.3.12025-12-01 · diff ↗ ·
removed 1 export
get_example_fits_idsadded 7 exports
cost_function<-, check_discretization, cost_function, cost_value, estimate_dm, get_example_fits, get_lower_upper - RR 4.5.0 released · 2025-04-11
- 0.2.2
- 0.2.12025-01-08
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-01-08
- Total releases
- 5 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 94 KB / 5 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("dRiftDM")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.