plotCohortTiming {CohortCharacteristics} | R Documentation |
'r lifecycle::badge("experimental")'
plotCohortTiming(
result,
plotType = "boxplot",
timeScale = "days",
facet = NULL,
colour = NULL,
colourName = NULL,
uniqueCombinations = TRUE,
.options = list()
)
result |
A summariseCohortTiming result. |
plotType |
Type of desired formatted table, possibilities are "boxplot" and "density". |
timeScale |
Time scale to plot results. Can be days or years. |
facet |
variables to facet by |
colour |
Variables to use for colours |
colourName |
Colour legend name |
uniqueCombinations |
If TRUE, only unique combinations of reference and comparator plots will be plotted. |
.options |
Additional plotting options |
A ggplot.