The Decision Diffusion Model
Overview
Provides functions for computing the density, distribution, and random generation of the Decision Diffusion model (DDM), a widely used cognitive model for analysing choice and response time data. The package allows model specification, including the ability to fix, constrain, or vary parameters across experimental conditions. While it does not include a built-in optimiser, it supports likelihood evaluation and can be integrated with external tools for parameter estimation. Functions for simulating synthetic datasets are also provided. This package is intended for researchers modelling speeded decision-making in behavioural and cognitive experiments. For more information, see Voss, Rothermund, and Voss (2004) doi:10.3758/BF03196893, Voss and Voss (2007) doi:10.3758/BF03192967, and Ratcliff and McKoon (2008) doi:10.1162/neco.2008.12-06-420.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-12
- WARNING12 OK, 1 WARNING2026-05-11
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 5 (1 internal)includes a package overview page
- Examples that run
- 100%3 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 67%
- Documented parameters
- 90%
- Return-value docs
- 100%
- Help pages citing references
- 40%
Downloads
Dependencies
Installing ddModel adds 5 packages (5 with compiled code, 2.9 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, ggdmcHeaders 44 KB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- 0.2.9.0Latest2025-09-02 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-09-02
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 104 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ddModel")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.