getResultList: Helper function to obtain simulation results list

Description Usage Arguments Value Author(s)

View source: R/Design-methods.R

Description

The function fun can use variables that are visible to itself. The names of these variables have to given in the vector vars.

Usage

1
getResultList(fun, nsim, vars, parallel)

Arguments

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?

Value

the list with all simulation results (one iteration corresponds to one list element)

Author(s)

Daniel Sabanes Bove sabanesd@roche.com



crmPack documentation built on May 20, 2017, 2:20 a.m.
Search within the crmPack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.