Create a CohortMethod analysis specification

createCmAnalysis(
analysisId = 1,
description = "",
targetType = NULL,
comparatorType = NULL,
getDbCohortMethodDataArgs,
createStudyPopArgs,
createPs = FALSE,
createPsArgs = NULL,
trimByPs = FALSE,
trimByPsArgs = NULL,
trimByPsToEquipoise = FALSE,
trimByPsToEquipoiseArgs = NULL,
matchOnPs = FALSE,
matchOnPsArgs = NULL,
matchOnPsAndCovariates = FALSE,
matchOnPsAndCovariatesArgs = NULL,
stratifyByPs = FALSE,
stratifyByPsArgs = NULL,
stratifyByPsAndCovariates = FALSE,
stratifyByPsAndCovariatesArgs = NULL,
fitOutcomeModel = FALSE,
fitOutcomeModelArgs = NULL
)

## Arguments

analysisId An integer that will be used later to refer to this specific set of analysis choices. A short description of the analysis. If more than one target is provided for each drugComparatorOutcome, this field should be used to select the specific target to use in this analysis. If more than one comparator is provided for each drugComparatorOutcome, this field should be used to select the specific comparator to use in this analysis. An object representing the arguments to be used when calling the getDbCohortMethodData function. An object representing the arguments to be used when calling the createStudyPopulation function. Should the createPs function be used in this analysis? An object representing the arguments to be used when calling the createPs function. Should the trimByPs function be used in this analysis? An object representing the arguments to be used when calling the trimByPs function. Should the trimByPsToEquipoise function be used in this analysis? An object representing the arguments to be used when calling the trimByPsToEquipoise function. Should the matchOnPs function be used in this analysis? An object representing the arguments to be used when calling the matchOnPs function. Should the matchOnPsAndCovariates function be used in this analysis? An object representing the arguments to be used when calling the matchOnPsAndCovariates function. Should the stratifyByPs function be used in this analysis? An object representing the arguments to be used when calling the stratifyByPs function. Should the stratifyByPsAndCovariates function be used in this analysis? An object representing the arguments to be used when calling the stratifyByPsAndCovariates function. Should the fitOutcomeModel function be used in this analysis? An object representing the arguments to be used when calling the fitOutcomeModel function.

## Details

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