Creates R6 object for StrataSettings
createStrataSettings(
byAge = F,
byGender = F,
byYear = F,
ageBreaks,
ageBreakList
)
a boolean indicating to stratify by age, defaults to F
a boolean indicating to stratify by gender, defaults to F
a boolean indicating to stratify by year, defaults to F
a vector of integers indicating the age group bounds.
a list of ageBreaks, used to specify multiple age break strata.
an R list containing name-value pairs that will serialize into a org.ohdsi.analysis.cohortincidence.design.StratifySettings JSON format.