by default, everyone starts with an unvaccinated status

expand_state_vax(x, model_type = c("onedose", "twodose"), unif = FALSE)

Arguments

x

state vector

model_type

choose either the one-dose or the two-dose model

unif

should individuals in each epidemic category be distributed evenly among vaccination strata? (if FALSE, put everyone in the first vaccination category, i.e., the unvaccinated category)

Examples

params <- read_params("PHAC.csv")
ss <- make_state(params=params)
ss2 <- expand_state_vax(ss)