Skip to content

Evidence Accumulation Models

0packages depend
3.6Kdownloads / year
12.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.2.2

Maintenance

  • Resubmit to CRAN with updated build timestamp.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.2
README· In the repository, left out of the releaseVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 1.2.2Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

3.6K
CRAN downloads in the past year
Rank #8,167 · ~10/day · ~302/mo
Daily download trend is not available in this view yet.
36430 days
1.1K90 days
3.6K1 year
Compare downloads with other packages →
Also on284 r2u9 autocran

Repository

3Stars
1Forks
0Open issues
0Open PRs
0Releases
383Commits
2Commit identities
eamevidence-accumulation-modelddmrdmsimulation
383 commits · Last activity 2026-06-21 · 0% stars, 30d
Responsiveness
How these are sampled
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

2026-02-27 · 22026-07-07 · 3
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-06-21 · The repository has a site deploy workflow

pkgdown site last built 2026-06-21

Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (3)
lintrVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0.1 (2026)
Releases (4)

Pick two releases to compare their code metrics.

  • 1.2.2Latest
    record
    2026-05-13 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.0
    record
    2026-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
    record
    2026-02-09 · diff ↗ ·
    added 1 export
    build_abi_input
  • 1.0.1
    record
    2026-01-17
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for eam version 1.2.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy