View source: R/plotCohortOverlap.R
plotCohortOverlap | R Documentation |
plotCohortOverlap(
result,
uniqueCombinations = TRUE,
y = NULL,
facet = c("cdm_name", "cohort_name_reference"),
colour = "variable_level",
.options = lifecycle::deprecated()
)
result |
A summarised_result object. Output of summariseCohortOverlap(). |
uniqueCombinations |
Whether to restrict to unique reference and comparator comparisons. |
y |
Variables to use in y axis, if NULL all variables not present in facet are used. |
facet |
Columns to facet by. See options with |
colour |
Columns to color by. See options with |
.options |
deprecated. |
A ggplot.
library(CohortCharacteristics)
cdm <- mockCohortCharacteristics()
overlap <- summariseCohortOverlap(cdm$cohort2)
plotCohortOverlap(overlap)
mockDisconnect(cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.