combineStrata {omopgenerics} | R Documentation |
Provide all combinations of strata levels.
Description
Provide all combinations of strata levels.
Usage
combineStrata(levels, overall = FALSE)
Arguments
levels |
Vector of all strata levels to combine. |
overall |
Whether to provide an empty element |
Value
A vector of all combinations of strata.
Examples
combineStrata(character())
combineStrata(character(), overall = TRUE)
combineStrata(c("age", "sex"), overall = TRUE)
combineStrata(c("age", "sex", "year"))
[Package omopgenerics version 1.3.0 Index]