combineStrata: Provide all combinations of strata levels.

View source: R/combineStrata.R

combineStrataR 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 character().

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"))


omopgenerics documentation built on April 3, 2025, 8:47 p.m.