Create SelfControlledCaseSeries multi-threading settings
Source:R/RunAnalyses.R
createSccsMultiThreadingSettings.RdCreate SelfControlledCaseSeries multi-threading settings
Usage
createSccsMultiThreadingSettings(
getDbSccsDataThreads = 1,
createStudyPopulationThreads = 1,
createIntervalDataThreads = 1,
fitSccsModelThreads = 1,
cvThreads = 1,
calibrationThreads = 1
)Arguments
- getDbSccsDataThreads
The number of parallel threads to use for building the
SccsDataobjects.- createStudyPopulationThreads
The number of parallel threads to use for building the
studyPopulationobjects.- createIntervalDataThreads
The number of parallel threads to use for building the
SccsIntervalDataobjects.- fitSccsModelThreads
The number of parallel threads to use for fitting the models.
- cvThreads
The number of parallel threads to use for the cross- validation when estimating the hyperparameter for the outcome model. Note that the total number of CV threads at one time could be
fitSccsModelThreads * cvThreads.- calibrationThreads
The number of parallel threads to use for empirical calibration.