psapply: Parallel (s/l)apply
Description
Depending on whether SetParallel has been called, execute in parallel or not.
Usage
psapply(..., seed = NULL)plapply(..., seed = NULL)
Value
a vector (psapply) or list (plapply)
Arguments
- ...
forwarded to lapply or parallel::mclapply
- seed
Seed for the random number generator
Details
If the code uses random number specify the seed to make it deterministic