plotEventToCalendarTime | R Documentation |
Plot the ratio of observed to expected events over calendar time.
plotEventToCalendarTime(
studyPopulation,
sccsModel = NULL,
title = NULL,
fileName = NULL
)
studyPopulation |
An object created using the |
sccsModel |
Optional: A fitted SCCS model as created using |
title |
Optional: the main title for the plot |
fileName |
Name of the file where the plot should be saved, for example 'plot.png'.
See the function |
Plot the ratio of observed to expected events over calendar time. The expected count expected rate considers which persons were observed during that month, and if specified in the model, the adjustment for season and calendar time.
A ggplot object. Use the ggplot2::ggsave()
function to save to file in a different
format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.