Plot point range number infections per individual

plot_number_infections(inf_chain, pad_chain = TRUE)

Arguments

inf_chain

the data table with infection history samples from serosolver

pad_chain

if TRUE, pads the infection history MCMC chain to have entries for non-infection events

Value

a ggplot object

See also

Examples

if (FALSE) { data(example_inf_chain) plot_number_infections(example_inf_chain) }