View source: R/seroprevalence_plot.R
seroprevalence.plot | R Documentation |
Plot the mean and 95 % confidence interval of the seroprevalence by age-class. Accepts as an input a SeroData
object. If multiple category
are defined, it will also compute the seroprevalence for each category.
seroprevalence.plot(serodata, age_class = 10, YLIM = 1, ...)
serodata |
An object of the class |
age_class |
Integer. The length in years of the age classes. Default = 10. |
YLIM |
Upper limit of the y-axis. Default = 1. The lower limit is set to 0. |
a list with plots of the seroprevalence for each category, or one plot if only one category is defined.
Nathanael Hoze nathanael.hoze@gmail.com
dat = data("one_peak_simulation")
seroprevalence.plot(serodata = dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.