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