
AccumulatR: Simulate and fit evidence-accumulation models
Source:R/AccumulatR-package.R
AccumulatR-package.RdDetails
AccumulatR is for researchers who work with response-time models in which
behavior is generated by competing or interacting accumulators. The package
lets you describe a model in psychologically meaningful terms, simulate
behavioral data, and evaluate likelihoods for fitting.
The main workflow is:
Start with
race_spec().Add accumulators, pools, outcomes, and timing relations.
Call
finalize_model()and supply values withbuild_param_matrix().Generate observations with
simulate(), or use experimental data.Call
prepare_data()andmake_context(), then evaluate candidate parameters withlog_likelihood().
See vignette("getting_started", package = "AccumulatR") for a worked example.
Author
Maintainer: Niek Stevenson niek.stevenson@gmail.com