plotCohortOverlap {CohortCharacteristics}R Documentation

Plot the result of summariseCohortOverlap.

Description

'r lifecycle::badge("experimental")'

Usage

plotCohortOverlap(
  result,
  facet = NULL,
  uniqueCombinations = TRUE,
  .options = list()
)

Arguments

result

A summariseCohortOverlap result.

facet

Variables to facet by.

uniqueCombinations

If TRUE, only unique combinations of reference and comparator plots will be plotted.

.options

Additional plotting options

Value

A ggplot.

Examples


library(CohortCharacteristics)
cdm <- CohortCharacteristics::mockCohortCharacteristics()
overlap <- summariseCohortOverlap(cdm$cohort2)
plotCohortOverlap(overlap)



[Package CohortCharacteristics version 0.2.2 Index]