View source: R/Design-methods.R
getResultList | R Documentation |
The function fun
can use variables that are visible to itself. The
names of these variables have to given in the vector vars
.
getResultList(fun, nsim, vars, parallel = NULL)
fun |
the simulation function for a single iteration, which takes as single parameter the iteration index |
nsim |
number of simulations to be conducted |
vars |
names of the variables |
parallel |
shall the iterations be parallelized across the cores? if NULL, then no parallelization will be done. If scalar positive number, then so many cores will be used. |
the list with all simulation results (one iteration corresponds to one list element)
Daniel Sabanes Bove sabanesd@roche.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.