createTargetComparatorOutcomes: Create target-comparator-outcomes combinations.

Description Usage Arguments Details

View source: R/Analyses.R

Description

Create target-comparator-outcomes combinations.

Usage

1
2
3
4
5
6
7
createTargetComparatorOutcomes(
  targetId,
  comparatorId,
  outcomeIds,
  excludedCovariateConceptIds = c(),
  includedCovariateConceptIds = c()
)

Arguments

targetId

A concept ID identifying the target drug in the exposure table. If multiple strategies for picking the target will be tested in the analysis, a named list of numbers can be provided instead. In the analysis, the name of the number to be used can be specified using the #' targetType parameter in the createCmAnalysis() function.

comparatorId

A concept ID identifying the comparator drug in the exposure table. If multiple strategies for picking the comparator will be tested in the analysis, a named list of numbers can be provided instead. In the analysis, the name of the number to be used can be specified using the #' comparatorType parameter in the createCmAnalysis() function.

outcomeIds

A vector of concept IDs identifying the outcome(s) in the outcome table.

excludedCovariateConceptIds

A list of concept IDs that cannot be used to construct covariates. This argument is to be used only for exclusion concepts that are specific to the drug-comparator combination.

includedCovariateConceptIds

A list of concept IDs that must be used to construct covariates. This argument is to be used only for inclusion concepts that are specific to the drug-comparator combination.

Details

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


escott12/CohortMethod documentation built on Dec. 20, 2021, 6:37 a.m.