Description Usage Arguments Author(s) References Examples
This function defines a object that is placed in a relevant internal environment defined in faoutlier.
Internal functions will utilize this object automatically to capitalize on parallel
processing architecture. The object defined is a call from parallel::makeCluster()
. Note that
if you are defining other parallel objects (for simulation designs, for example) it is not recommended
to define a cluster.
1 | setCluster(spec, ..., remove = FALSE)
|
spec |
input that is passed to |
... |
additional arguments to pass to |
remove |
logical; remove previously defined cluster object? |
Phil Chalmers rphilip.chalmers@gmail.com
Chalmers, R. P. & Flora, D. B. (2015). faoutlier: An R Package for Detecting Influential Cases in Exploratory and Confirmatory Factor Analysis. Applied Psychological Measurement, 39, 573-574. doi: 10.1177/0146621615597894
Flora, D. B., LaBrish, C. & Chalmers, R. P. (2012). Old and new ideas for data screening and assumption testing for exploratory and confirmatory factor analysis. Frontiers in Psychology, 3, 1-21. doi: 10.3389/fpsyg.2012.00055
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
#make 4 cores available for parallel computing
setCluster(4)
#' #stop and remove cores
setCluster(remove = TRUE)
#use all available cores
setCluster()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.