setup_cluster | R Documentation |
The cluster is set up for a number of workers by loading the mcmcsae package and setting up independent RNG streams.
setup_cluster(n.cores = NULL, seed = NULL, export = NULL)
n.cores |
the number of cpu cores to use. |
seed |
optional random seed for reproducibility. |
export |
a character vector with names of objects to export to the workers. |
An object representing the cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.