Description Usage Arguments Details Author(s) See Also
Uses the parallel
library to distribute replicate
processing across cores.
1 | mcreplicate(n, expr, refresh = 0.1, mc.cores=2 )
|
n |
Number of replications |
expr |
Code to replicate |
refresh |
Status update refresh interval |
mc.cores |
Number of cores to use |
This function uses mclapply
to distribute replications across cores. It then simplifies the result to an array.
Richard McElreath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.