createCcAnalysis: Create a case-control analysis specification

View source: R/Analyses.R

createCcAnalysisR Documentation

Create a case-control analysis specification

Description

Create a case-control analysis specification

Usage

createCcAnalysis(
  analysisId = 1,
  description = "",
  exposureType = NULL,
  outcomeType = NULL,
  nestingCohortType = NULL,
  getDbCaseDataArgs,
  selectControlsArgs,
  getDbExposureDataArgs,
  createCaseControlDataArgs,
  fitCaseControlModelArgs
)

Arguments

analysisId

An integer that will be used later to refer to this specific set of analysis choices.

description

A short description of the analysis.

exposureType

If more than one exposure is provided for each exposureOutcomeNestingCohort, this field should be used to select the specific exposure to use in this analysis.

outcomeType

If more than one outcome is provided for each exposureOutcomeNestingCohort, this field should be used to select the specific outcome to use in this analysis.

nestingCohortType

If more than one nesting cohort is provided for each exposureOutcomeNestingCohort, this field should be used to select the specific nesting cohort to use in this analysis.

getDbCaseDataArgs

An object representing the arguments to be used when calling the createGetDbCaseDataArgs function.

selectControlsArgs

An object representing the arguments to be used when calling the createSelectControlsArgs function.

getDbExposureDataArgs

An object representing the arguments to be used when calling the createGetDbExposureDataArgs function.

createCaseControlDataArgs

An object representing the arguments to be used when calling the createCreateCaseControlDataArgs function.

fitCaseControlModelArgs

An object representing the arguments to be used when calling the createFitCaseControlModelArgs function.

Details

Create a set of analysis choices, to be used with the runCcAnalyses function.


OHDSI/CaseControl documentation built on July 15, 2022, 6:33 a.m.