Skip to contents

`r lifecycle::badge("deprecated")`

Usage

summariseCohortOverlap(cohort, cohortId = NULL, strata = list())

Arguments

cohort

A cohort table in a cdm reference.

cohortId

Vector of cohort definition ids to include, if NULL, all cohort definition ids will be used.

strata

List of the stratifications within each group to be considered. Must be column names in the cohort table provided.

Value

A summarised result.

Examples

# \donttest{
library(PatientProfiles)
cdm <- PatientProfiles::mockPatientProfiles()
results <- summariseCohortOverlap(cdm$cohort2)
CDMConnector::cdmDisconnect(cdm = cdm)
# }