This function is deprecated and may be removed in a future release.
This function creates a ggplot comparing estimated reproduction numbers (\(R\))
over time from multiple EpiEstim outputs. Each input should be a named object
produced by EpiEstim containing an estimate_R$R data frame.
plot_R_fit_comparison(...)A ggplot2 object showing median \(R\) estimates with 50% and 95% credible intervals, colored by input source (i.e., name).
Named EpiEstim output objects produced by generate_forecast().
Each object should contain a data frame estimate_R$R with columns such as:
t_start, t_end: Time window indices
Median(R): Median estimated reproduction number
Quantile.0.025(R) / Quantile.0.975(R): 95% credible interval bounds
Quantile.0.25(R) / Quantile.0.75(R): 50% credible interval bounds
generate_forecast(), EpiEstim::estimate_R()