ddModel: The Decision Diffusion Model

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>.

Version: 0.2.9.0
Depends: R (≥ 3.3.0)
Imports: ggdmcPrior, ggdmcModel, Rcpp (≥ 1.0.7), methods
LinkingTo: Rcpp (≥ 1.0.7), RcppArmadillo (≥ 0.10.7.5.0), ggdmcHeaders
Suggests: testthat
Published: 2025-09-02
DOI: 10.32614/CRAN.package.ddModel
Author: Yi-Shin Lin [aut, cre]
Maintainer: Yi-Shin Lin <yishinlin001 at gmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: README
CRAN checks: ddModel results

Documentation:

Reference manual: ddModel.html , ddModel.pdf

Downloads:

Package source: ddModel_0.2.9.0.tar.gz
Windows binaries: r-devel: ddModel_0.2.9.0.zip, r-release: not available, r-oldrel: ddModel_0.2.9.0.zip
macOS binaries: r-release (arm64): ddModel_0.2.9.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): ddModel_0.2.9.0.tgz, r-oldrel (x86_64): ddModel_0.2.9.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ddModel to link to this page.