An accumulator has a random finishing time drawn from dist, shifted by
its onset and nondecision time t0. Use add_outcome() to connect its
completion to an observed response.
Arguments
- spec
A
race_specobject.- id
Label for the accumulator.
- dist
Distribution family:
"lognormal","gamma","exgauss","LBA", or"RDM". Names are case-insensitive.- onset
Start time for the accumulator. This can be a fixed numeric onset or a chained onset created with
after().
Examples
spec <- race_spec()
spec <- add_accumulator(spec, "A", "lognormal")
