psapply | R Documentation |
Depending on whether SetParallel has been called, execute in parallel or not.
psapply(..., seed = NULL, enforce = NA)
plapply(..., seed = NULL, enforce = NA)
... |
forwarded to lapply or parallel::mclapply |
seed |
Seed for the random number generator |
enforce |
if TRUE, do it parallelized no matter what IsParallel() says, if FALSE do it non-parallelized no matter what IsParallel() says |
If the code uses random number specify the seed to make it deterministic
a vector (psapply) or list (plapply)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.