createSccsMultiThreadingSettings: Create SelfControlledCaseSeries multi-threading settings

View source: R/RunAnalyses.R

createSccsMultiThreadingSettingsR Documentation

Create SelfControlledCaseSeries multi-threading settings

Description

Create 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 SccsData objects.

createStudyPopulationThreads

The number of parallel threads to use for building the studyPopulation objects.

createIntervalDataThreads

The number of parallel threads to use for building the SccsIntervalData objects.

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.

Value

An object of type SccsMultiThreadingSettings.

See Also

createDefaultSccsMultiThreadingSettings()


OHDSI/SelfControlledCaseSeries documentation built on Sept. 7, 2024, 8:24 a.m.