This function runs a single trial of the LCA-GI (Leaky Competing Accumulator with Global Inhibition) simulation using the provided item formulas and trial settings. It's a wrapper around the core C++ function for LCA-GI.
run_trial_lca_gi(
trial_setting,
item_formulas,
n_items,
max_reached,
max_t,
dt,
noise_factory,
trajectories = FALSE
)A list containing the simulation results
A list of named values representing the trial settings
A list of formulas defining the item parameters
The number of items to simulate
The threshold for evidence accumulation
The maximum time to simulate
The step size for each increment
A function that takes trial_setting and returns a noise function with signature function(n, dt)
Whether to return full output including trajectories.