Lapply or bplapply.
Arguments
- x
Vector (atomic or list) or an ‘expression’ object. Other objects (including classed objects) will be coerced by ‘base::as.list’.
- FUN
A user-defined function.
- parallelize
Logical indicating whether or not to parallelize the computation. Defaults to
TRUE
.- ...
optional argument passed to bplapply if
parallelize == TRUE
, else to lapply.