setCores: Function to set the number of cores that Jaatha uses for simulations
Description
Jaatha can distribute the simulation on multiple cores if the operating
system supports p-threads (parrallel::mclapply is used internally). This
function sets the number of cores that should be used.
Usage
setCores(jaatha, cores = 1)
Arguments
jaatha
The jaatha object for which we set the number of cores
cores
The number of cores to use. On Windows, only one core can be
used.