R/plot_infection_histories.R
plot_individual_number_infections.RdPlots the posterior median and 95
plot_individual_number_infections(inf_chain, pad_chain = TRUE)the infection-history chain returned by load_mcmc_chains, in long format
if TRUE, adds zero-valued entries for infection events that are absent from the sparse chain
A ggplot object.
Other infection_history_plots:
calculate_infection_history_statistics(),
plot_antibody_data(),
plot_antibody_predictions(),
plot_cumulative_infection_histories(),
plot_estimated_antibody_model(),
plot_infection_history_chains_indiv(),
plot_infection_history_chains_time(),
plot_infection_history_posteriors(),
plot_model_fits(),
plot_total_number_infections()
if (FALSE) { # \dontrun{
data(example_inf_chain)
plot_individual_number_infections(example_inf_chain)
} # }