Learn R Programming

SelfControlledCaseSeries (version 6.0.0)

createExposuresOutcome: Create a exposures-outcome combination.

Description

Create a exposures-outcome combination.

Usage

createExposuresOutcome(outcomeId, exposures, nestingCohortId = NULL)

Value

An object of type ExposuresOutcome.

Arguments

outcomeId

An integer used to identify the outcome in the outcome cohort table.

exposures

A list of object of type Exposure as created by createExposure().

nestingCohortId

(Optional) the nesting cohort ID.

Details

Create a set of hypotheses of interest, to be used with the runSccsAnalyses() function.