SimulationSettings | R Documentation |
R6 class for Population Simulation Settings
numberOfCores
is the number of cores to use for simulation
showProgress
is a logical field TRUE shows progress of simulation.
maxSimulationsPerCore
Scale factor used in a parallel simulation. The product of this scale factor and the number of allowable cores (allowedCores) sets the maximum number of simulations that may be run on one core.
allowedCores
is the number of cores assigned to the user session.
mcRepetitions
is the number of repetitions when performing a Monte Carlo Simulation
mcRandomSeed
is the Random Seed Number when performing a Monte Carlo Simulation which allows repeatability of the simulations
new()
Create a SimulationSettings
object
SimulationSettings$new( numberOfCores = NULL, showProgress = TRUE, maxSimulationsPerCore = NULL )
numberOfCores
number of cores for parallel computation
showProgress
logical indicating if simulation progress is printed on console
maxSimulationsPerCore
Scale factor used in a parallel simulation. The product of this scale factor and the number of allowable cores (allowedCores) sets the maximum number of simulations that may be run on one core.
A new SimulationSettings
object
clone()
The objects of this class are cloneable with this method.
SimulationSettings$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.