
Plot observed vs. fitted SIRD-GA incidence, with an optional bootstrap band
Source:R/plotting.R
plot_sird_ga_fit.RdPlot observed vs. fitted SIRD-GA incidence, with an optional bootstrap band
Arguments
- y
Observed counts.
- kf
Output of
sird_ga_loglik()called withkeep_states = TRUE.- ci
Optional data frame (
time,lower,upper) on the head-count scale, e.g. built fromsird_ga_bootstrap()replicate trajectories.- cumulative
Logical; plot cumulative (default
FALSE, i.e. daily) incidence.