Description Usage Arguments Value Author(s) Examples
To use mclapply2 from bt88.03.704 you have to install this library (e.g. devtools::install_github('floatofmath/bt88.03.704')
) unfortunately the statusbar implementation does not work with Rstudio.
1 2 |
scenarios |
Object with paramter settings for |
runs |
Number of simulation runs for each scenario |
run_scenario |
Function that runs a single parameter scenario, takes at least the columns of |
... |
Additional named arguments for run_scenario |
drop |
should columns that start with |
multicore |
Should multicore parallelisation be used |
use_mclapply2 |
use mclapply2 from package bt88.03.704 which implements a status bar (see details) |
Object with parameters and simulation results in each row
Florian Klinglmueller
1 2 | scenarios <- expand.grid(m=c(0,1),s=c(1,2))
simulate_batch(scenarios,10000,simulate_poly,n=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.