plot_seroprev_estimates {serofoi} | R Documentation |
Plot seroprevalence estimates on top of the serosurvey
Description
Plot seroprevalence estimates on top of the serosurvey
Usage
plot_seroprev_estimates(
seromodel,
serosurvey,
alpha = 0.05,
size_text = 11,
bin_serosurvey = FALSE,
bin_step = 5
)
Arguments
seromodel |
stan_fit object obtained from sampling a model with fit_seromodel |
serosurvey |
|
alpha |
1 - alpha indicates the credibility level to be used |
size_text |
Size of text for plotting ( |
bin_serosurvey |
If |
bin_step |
Integer specifying the age groups bin size to be used when
|
Value
ggplot object with seroprevalence estimates and serosurveys plots
Examples
data(veev2012)
seromodel <- fit_seromodel(veev2012, iter = 100)
plot_seroprev_estimates(seromodel, veev2012)
[Package serofoi version 1.0.3 Index]