Skip to contents

All functions

compute_residual_metrics()
Residual-based posterior predictive metrics for longitudinal antibody curves
fig2_overall_newperson()
Summarize population-level ("newperson") antibody trajectories from overall models
fmt_mci()
Format median and credible interval as a single string
make_model_comparison_table()
Compare serotype-specific vs overall models using residual metrics
mock_case_data
Mock case data for testing
mock_posterior_draws
Mock posterior draws for testing
model_comparison_table()
Compare summary residual metrics between two model outputs
prep_newperson_params()
Extract "newperson" parameter draws and summarize for Table 2
process_shigella_data()
Reshape Shigella longitudinal data for serodynamics workflows