grid_scan | R Documentation |
This function is useful for running a large scan of parameter combinations for the same model. Typical use cases are probing stability of an attractor, effect of certain parameters on the system, etc.
grid_scan(
model_gen,
grid,
apply.fn = identity,
n.core = 2,
custom.export = NULL,
...
)
model_gen |
Odin model generator, see |
grid |
Data frame of the parameter grid. |
apply.fn |
Function to apply before return (e.g., some summary). |
n.core |
Number of cores for parallel computing. |
custom.export |
Names of additional variables used by apply.fn. |
... |
Model |
Grid is a data frame whose columns are model parameters.
See model$contents()
for tunable parameters.
List of model run results.
vignette("grid-scan", "clockSim")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.