plot_number_infections: Plot point range number infections per individual

plot_number_infectionsR Documentation

Plot point range number infections per individual

Description

Plot point range number infections per individual

Usage

plot_number_infections(inf_chain, pad_chain = TRUE)

Arguments

inf_chain

the data table with infection history samples from run_MCMC

pad_chain

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

Value

a ggplot object

See Also

Other infection_history_plots: calculate_infection_history_statistics(), generate_cumulative_inf_plots(), plot_data(), plot_infection_histories_long(), plot_infection_histories(), plot_infection_history_chains_indiv(), plot_infection_history_chains_time(), plot_posteriors_infhist(), plot_total_number_infections()

Examples

## Not run: 
data(example_inf_chain)
plot_number_infections(example_inf_chain)

## End(Not run)

seroanalytics/serosolver documentation built on April 24, 2023, 9:52 a.m.