setup_script | R Documentation |
Runs setup for either the generate_data.R script or run_methods.R script. This script i) sets the seed (which has a global side-effect) ii) updates the value of B, if B !=0 (the default) iii) obtains the ordered set of arguments
setup_script(simulatr_spec, B_in, function_object, row_idx)
simulatr_spec |
simulation specifier object |
B_in |
B to set (0 means do not update) |
function_object |
either a method or data generation simulatr_function object |
row_idx |
row index of the parameter grid |
a list with the B-updated sim_spec object and ordered list of args
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.