
Build the closure that calls the simulator for one parameter set
Source:R/simulator.R
simulator_caller.RdThe dispatch decision and the sim_args checks happen here, once, so the
per-draw loop is a single do.call().
Usage
simulator_caller(simulator, param_names, sim_args = list())