Evidence Accumulation Models
Overview
Simulation-based evidence accumulation models for analyzing responses and reaction times in single- and multi-response tasks. The package includes simulation engines for five representative models: the Diffusion Decision Model (DDM), Leaky Competing Accumulator (LCA), Linear Ballistic Accumulator (LBA), Racing Diffusion Model (RDM), and Levy Flight Model (LFM), and extends these frameworks to multi-response settings. The package supports user-defined functions for item-level parameterization and the incorporation of covariates, enabling flexible customization and the development of new model variants based on existing architectures. Inference is performed using simulation-based methods, including Approximate Bayesian Computation (ABC) and Amortized Bayesian Inference (ABI), which allow parameter estimation without requiring tractable likelihood functions. In addition to core inference tools, the package provides modules for parameter recovery, posterior predictive checks, and model comparison, facilitating the study of a wide range of cognitive processes in tasks involving perceptual decision making, memory retrieval, and value-based decision making. Key methods implemented in the package are described in Ratcliff (1978) doi:10.1037/0033-295X.85.2.59, Usher and McClelland (2001) doi:10.1037/0033-295X.108.3.550, Brown and Heathcote (2008) doi:10.1016/j.cogpsych.2007.12.002, Tillman, Van Zandt and Logan (2020) doi:10.3758/s13423-020-01719-6, Wieschen, Voss and Radev (2020) doi:10.20982/tqmp.16.2.p120, Csilléry, François and Blum (2012) doi:10.1111/j.2041-210X.2011.00179.x, Beaumont (2019) doi:10.1146/annurev-statistics-030718-105212, and Sainsbury-Dale, Zammit-Mangion and Huser (2024) doi:10.1080/00031305.2023.2249522.
Maintenance
- Resubmit to CRAN with updated build timestamp.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 69 (38 internal)
- Examples that run
- 68%19 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 5 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 13
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/y-guang/eam on 2026-10-18.
GitHub Pages site last deployed 2026-06-21 · The repository has a site deploy workflow
pkgdown site last built 2026-06-21
Dependencies
Installing eam adds 47 packages (23 with compiled code, 48 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.2.2Latest
- RR 4.6.0 released · 2026-04-24
- 1.2.02026-03-29 · diff ↗ ·
added 9 exports
abc_abc, abc_cv, abc_posterior_predictive_check, abi_assess, abi_estimate, abi_posterior_predictive_check, abi_sample_posterior, abi_train, update_config_from_posterior - 1.1.0
- 1.0.12026-01-17
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-01-17
- Total releases
- 4 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 861 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("eam")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.31234/osf.io/dg7c2_v1.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.