View source: R/summariseCohortOverlap.R
summariseCohortOverlap | R Documentation |
Summarise overlap between cohorts in a cohort table
summariseCohortOverlap(cohort, cohortId = NULL, strata = list())
cohort |
A cohort table in the cdm. |
cohortId |
A cohort definition id to restrict by. If NULL, all cohorts will be included. |
strata |
A list of variables to stratify results. These variables must have been added as additional columns in the cohort table. |
A summary of overlap between cohorts in the cohort table.
library(CohortCharacteristics)
library(dplyr, warn.conflicts = FALSE)
cdm <- mockCohortCharacteristics()
summariseCohortOverlap(cdm$cohort2) |>
glimpse()
mockDisconnect(cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.