collapse (non-accumulator) states into subcategories (ages, vax status)

condense_state(x, return_type = c("tibble", "named_vector", "unnamed_vector"))

Arguments

x

a state vector or data frame (each row is a different time point)

return_type

how to return condensed state

Value

a tibble of counts aggregated across epidemiological states