Create CohortMethod multi-threading settings based on the maximum number of cores to be used.

createDefaultMultiThreadingSettings(maxCores)

Arguments

maxCores

Maximum number of CPU cores to use.

Value

An object of type CmMultiThreadingSettings.

Examples

settings <- createDefaultMultiThreadingSettings(10)