format_internal.RdInternals of Format vaccine model output as data.frame
format_internal(x, compartments, summaries, reduce_age, index, time, replicate)squire_simulation object
Vector of compartment names, e.g. c("S", "R"), or sub-compartment names, e.g. c("S", "E1", "E2")
Vector of summary names, which may be:
"deaths" Deaths per day
"infections" Infections per day. New infections (note this is currently a slightly different definitionto the main Squire mode)
"hospitilisations" Hospitalisations per day (Note this takes into account hospital capacity)
"hospital_occupancy" Occupied Hospital Beds
"ICU_occupancy" Occupied ICU Beds
"hospital_demand Required Hospital Beds
"ICU_demand Required ICU Beds
"vaccinated" Vaccines administered per day
Collapse age-dimension, calculating the total in the compartment.
odin ouput index
time vector
outpu replicate number