init.Rd
Check and set up initial values for vaccine model
init(population, seeding_cases, seeding_age_order = NULL, init = NULL)
population | Population vector (for each age group). Default = NULL,
which will cause population to be sourced from |
---|---|
seeding_cases | Initial number of cases seeding the epidemic |
seeding_age_order | Vector specifying the order in which seeds are allocated to ages. If NULL, seeds are distributed randomly within working ages. If specified, must be a vector of length 17 specifying the order seeds are allocated, e.g. 1:17 will allocate first seed to the youngest age group, then the second youngest and so on. Default = NULL |
init | Initial conditions for simulation provided. Allows overriding if initial conditions start with an already infected population etc. Default = NULL. |
Checked initial values data.frame