drawAttritionDiagram draws the attition diagram, showing how many people were excluded from
the study population, and for what reasons.
drawAttritionDiagram(object, targetLabel = "Target", comparatorLabel = "Comparator", fileName = NULL)
Either an object of type
A label to us for the target cohort.
A label to us for the comparator cohort.
Name of the file where the plot should be saved, for example 'plot.png'.
See the function
A ggplot object. Use the
ggsave function to save to file in a different