Plots the total number of inferred infections in the MCMC chain as a trace plot and density plot

plot_total_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

two ggplot2 objects

See also

Examples

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