optCPU: Determine optimal number of cpus
Description
Determine optimal number of cpus
Usage
optCPU(nsim = 96, thresh = 5, plot = TRUE, msg = TRUE, maxn = NULL)
Arguments
nsim
Numeric. Number of simulations.
thresh
Recommended n cpus is what percent of the fastest time?
msg
Logical. Should messages be printed to console?
maxn
Optional. Maximum number of cpus. Used for demo purposes