plotAgeEffect | R Documentation |
Plot the age effect
plotAgeEffect(sccsModel, rrLim = c(0.1, 10), title = NULL, fileName = NULL)
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 |
Plot the spline curve of the age effect.
A Ggplot object. Use the ggsave function to save to file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.