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)
| inf_chain | the data table with infection history samples from |
|---|---|
| pad_chain | if TRUE, pads the infection history MCMC chain to have entries for non-infection events |
two ggplot2 objects
Other infection_history_plots:
calculate_infection_history_statistics(),
generate_cumulative_inf_plots(),
plot_data(),
plot_infection_histories(),
plot_infection_history_chains_indiv(),
plot_infection_history_chains_time(),
plot_number_infections(),
plot_posteriors_infhist()