Skip to contents

With probability given by name, all member accumulators are absent on a trial. Otherwise they follow their specified onsets and finishing-time distributions. Use separate triggers for independent absence events; set_parameters() can give those events a common probability.

Usage

add_trigger(spec, name, members)

Arguments

spec

A race_spec object.

name

Trigger parameter name. Supply its probability in [0, 1] to build_param_matrix().

members

Accumulator labels controlled by the shared absence draw.

Value

The updated race_spec.