Skip to content

fddm

1.0-2

Fast Implementation of the Diffusion Decision Model

0packages depend
3.3Kdownloads / year
81.6%test coverage
13/13checks pass

Overview

About
Maintained by Henrik SingmannFirst published 2020-07-1011 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.48
81.6%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 876 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
100%
References docs
82%

Downloads

3.3K
CRAN downloads in the past year
Rank #11,816 · ~9/day · ~279/mo
Daily download trend is not available in this view yet.
33330 days
87090 days
3.3K1 year
Compare downloads with other packages →
Also on430 r2u33 autocran

Repository

Repository
18Stars
7Forks
1Open issues
0Open PRs
4Releases
436Commits
2Contributors
436 commits · Last activity 2024-08-01 · 0% stars, 30d

Stars over time

2025-07-05 · 172026-07-07 · 18

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/rtdists/fddm on 2026-07-30.

Continuous integration (2)
GitHub ActionsTravis CI
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (4)
RcppstatsmethodsFormula
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Contributor, Maintainer
Authors (1)
Contributors (2)
Contributor, Maintainer
Contributor · added in 1.0-1
Package Timeline

11 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0-2Latest
    2024-07-02 · current release · diff ↗
  • 1.0-1
    2024-06-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5-2
    2022-09-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5-1
    2022-03-15 · diff ↗
  • 0.4-1
    2021-12-13 · diff ↗
  • 0.4-0
    2021-08-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3-3
    2021-04-06 · diff ↗
  • 0.3-1
    2021-03-22 · diff ↗
  • 0.2-2
    2020-11-04 · diff ↗
  • 0.2-1
    2020-10-14 · diff ↗
Show 2 earlier events
  • 0.1-1
    2020-07-10
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-07-10
Total releases
11 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
37 KB / 1 file
Download size
1.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →