Simple function to set the number of threads to use in parallel
computations. The default equals all available logical cores. An integer is
interpreted as the number of threads. A numeric < 1 is interpreted as a proportion
of the avialable logical cores.
Usage
setParallel(C = NULL)
Arguments
C
a scalar indicating the number of threads, default = NULL (#available logical cores)