This function runs multiple trials for a given condition using the specified
run_condition(
condition_setting,
between_trial_formulas,
item_formulas,
n_trials,
n_items,
max_reached,
max_t,
dt,
noise_mechanism,
noise_factory,
backend,
trajectories = FALSE
)A list containing the simulation results and condition parameters
A list of named values representing the condition settings
A list of formulas defining the between-trial parameters
A list of formulas defining the item parameters
The number of trials to simulate
The number of items per trial
The threshold for evidence accumulation
The maximum time to simulate
The step size for each increment
The noise mechanism to use ("add" or "mult")
A function that takes condition_setting and returns a noise function with signature function(n, dt)
The backend implementation to use ("ddm", "ddm-2b", or "lca-gi")
Whether to return full output including trajectories.