Creates R6 object for IncidenceDesign
createIncidenceDesign(
cohortDefs,
targetDefs,
outcomeDefs,
tars,
analysisList,
conceptSets,
subgroups,
strataSettings,
studyWindow
)
The set of cohort definitions. Optional.
A list of target definitions, each element must be class CohortReference.
A list of outcome definitions, each element must be class Outcome
A list of TAR definitions, each element must be class TimeAtRisk
A list of analysis definitions, each element must be class IncidenceAnalysis
A list of concept sets, currently unused.
A list of cohort subgroups, each element must be class Subgroup.
The strata settings used in the anlaysis, must be class StrataSettings.
Limits time at risk to the specified study window. Must be class DateRange.
a R6 class: IncidenceDesign.