Skip to content

fddm

Fast Implementation of the Diffusion Decision Model

v1.0-2 · Jul 2, 2024 · GPL (>= 2)

Description

Provides the probability density function (PDF), cumulative distribution function (CDF), the first-order and second-order partial derivatives of the PDF, and a fitting function for the diffusion decision model (DDM; e.g., Ratcliff & McKoon, 2008, <doi:10.1162/neco.2008.12-06-420>) with across-trial variability in the drift rate. Because the PDF, its partial derivatives, and the CDF of the DDM both contain an infinite sum, they need to be approximated. 'fddm' implements all published approximations (Navarro & Fuss, 2009, <doi:10.1016/j.jmp.2009.02.003>; Gondan, Blurton, & Kesselmeier, 2014, <doi:10.1016/j.jmp.2014.05.002>; Blurton, Kesselmeier, & Gondan, 2017, <doi:10.1016/j.jmp.2016.11.003>; Hartmann & Klauer, 2021, <doi:10.1016/j.jmp.2021.102550>) plus new approximations. All approximations are implemented purely in 'C++' providing faster speed than existing packages.

Downloads

280

Last 30 days

14945th

747

Last 90 days

3.2K

Last year

Trend: +6.5% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    1.6Mb
    libs   9.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    1.6Mb
    libs   9.5Mb

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    1.6Mb
    libs   9.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 12.0Mb
  sub-directories of 1Mb or more:
    doc    1.6Mb
    libs   9.5Mb

Dependency Network

Dependencies Reverse dependencies Rcpp Formula fddm

Version History

new 1.0-2 Mar 10, 2026
updated 1.0-2 ← 1.0-1 diff Jul 1, 2024
updated 1.0-1 ← 0.5-2 diff Jun 25, 2024
updated 0.5-2 ← 0.5-1 diff Sep 8, 2022
updated 0.5-1 ← 0.4-1 diff Mar 14, 2022
updated 0.4-1 ← 0.4-0 diff Dec 12, 2021
updated 0.4-0 ← 0.3-3 diff Aug 5, 2021
updated 0.3-3 ← 0.3-1 diff Apr 5, 2021
updated 0.3-1 ← 0.2-2 diff Mar 21, 2021
updated 0.2-2 ← 0.2-1 diff Nov 3, 2020
updated 0.2-1 ← 0.1-1 diff Oct 13, 2020
new 0.1-1 Jul 9, 2020