run_all_replicates | R Documentation |
This function makes it easy to run an arbitrary function in parallel.
run_all_replicates( replicates, boot_function, N = length(replicates), args = NULL, max.threads = 20, parallel.libraries = NULL )
replicates |
A list that contains a value to be passed to the 'boot_function' for each run. |
boot_function |
An arbitrary function that is run once for each item in the 'replicates' list. The value in each list item in 'replicates' is passed as the first value to 'boot_function'. |
N |
The number of runs to do, which defaults to the length of 'replicates'. |
args |
Additional values to pass to 'boot_function'. |
max.threads |
The maximum number of threads to use. Will attempt to use the smaller of 75 threads or 'max.threads'. |
parallel.libraries |
A list of libraries that are loaded for each thread. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.