plotCalendarTimeEffect {SelfControlledCaseSeries} | R Documentation |
Plot the calendar time effect
Description
Plot the calendar time effect
Usage
plotCalendarTimeEffect(
sccsModel,
rrLim = c(0.1, 10),
title = NULL,
fileName = NULL
)
Arguments
sccsModel |
An object of type |
rrLim |
The limits on the incidence rate ratio scale in the plot. |
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 |
Details
Plot the spline curve of the calendar time effect.
Value
A Ggplot object. Use the ggsave function to save to file.
[Package SelfControlledCaseSeries version 6.0.1 Index]