Package: ddModel
Type: Package
Title: The Decision Diffusion Model
Version: 0.2.9.0
Date: 2025-08-07
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 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>.
License: GPL (>= 2)
Imports: ggdmcPrior, ggdmcModel, Rcpp (>= 1.0.7), methods
Depends: R (>= 3.3.0)
LinkingTo: Rcpp (>= 1.0.7), RcppArmadillo (>= 0.10.7.5.0), ggdmcHeaders
Suggests: testthat
RoxygenNote: 7.3.2
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2025-08-28 00:15:59 UTC; yslin
Author: Yi-Shin Lin [aut, cre]
Repository: CRAN
Date/Publication: 2025-09-02 20:50:24 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-26 03:18:18 UTC; unix
Archs: ddModel.so.dSYM
