dispatch_trial_runs | R Documentation |
Helper function to dispatch the running of several trials to lapply()
or
parallel::parLapply()
, setting seeds correctly if a base_seed
was used
when calling run_trials()
. Used internally in calls by the run_trials()
function.
dispatch_trial_runs(is, trial_spec, seeds, sparse, cores, cl = NULL)
is |
vector of integers, the simulation numbers/indices. |
trial_spec |
trial specification as provided by |
sparse |
single logical, as described in |
cores |
|
cl |
|
Single trial simulation object, as described in run_trial()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.