This function sets up parallel computing by the package
Integer. Number of cpus to use. Should be >= 2.
Character. Additional source files to be loaded in parallel. Only required when parallel computing is also desired for functions
not available in
Character vector. Libraries to be loaded in parallel. Defaults to the libraries multiridge depends on.
Parallel computing is available for several functions that rely on cross-validation. If double CV is used, parallel computing is applied to the outer loop, to optimize efficiency.
No return value, called for side effects
Snowfall package for further documentation on parallel computing. A full demo and data are available from:
1 2 3 4
## Not run: setupParallel(ncpus=4) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.