createsccAnalysis: Create a SelfControlledCohort analysis specification

createSccAnalysisR Documentation

Create a SelfControlledCohort analysis specification

Description

Create a SelfControlledCohort analysis specification

Usage

createSccAnalysis(
  analysisId = 1,
  description = "",
  exposureType = NULL,
  outcomeType = NULL,
  runSelfControlledCohortArgs
)

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 exposureOutcome, 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 exposureOutcome, this field should be used to select the specific outcome to use in this analysis.

runSelfControlledCohortArgs

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

Details

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


OHDSI/SelfControlledCohort documentation built on Feb. 22, 2023, 5:44 p.m.