Wrapper function for mclapply
# S3 method for default
sim(
x = NULL,
R = 100,
f = NULL,
colnames = NULL,
messages = lava.options()$messages,
seed = NULL,
args = list(),
iter = FALSE,
...
)
function or 'sim' object
Number of replications or data.frame with parameters
Optional function (i.e., if x is a matrix)
Optional column names
Messages
(optional) Seed (needed with cl=TRUE)
(optional) list of named arguments passed to (mc)mapply
If TRUE the iteration number is passed as first argument to (mc)mapply
Additional arguments to (mc)mapply
summary.sim plot.sim print.sim