Plots the posterior median and 95

plot_individual_number_infections(inf_chain, pad_chain = TRUE)

Arguments

inf_chain

the infection-history chain returned by load_mcmc_chains, in long format

pad_chain

if TRUE, adds zero-valued entries for infection events that are absent from the sparse chain

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
data(example_inf_chain)
plot_individual_number_infections(example_inf_chain)
} # }