Plot the calendar time effect
plotCalendarTimeEffect(
sccsModel,
rrLim = c(0.1, 10),
title = NULL,
fileName = NULL
)A Ggplot object. Use the ggsave function to save to file.
An object of type sccsModel as created using the
fitSccsModel function.
The limits on the incidence rate ratio scale in the plot.
Optional: the main title for the plot
Name of the file where the plot should be saved, for example 'plot.png'. See the
function ggsave in the ggplot2 package for supported file formats.
Plot the spline curve of the calendar time effect.