Function to prepare the model initial state. Assumes that
1 in every million individuals is initially infected, and that 60% are
asymptomatic infections. This does not affect the actual probability of
asymptomatic infections in the simulation, which is a property of a
<daedalus_infection>
.
Arguments
- country
A country or territory object of class
<daedalus_country>
, or a country or territory name from those included in the package; see country_names, or a country ISO2 or ISO3 code; see country_codes_iso2c and country_codes_iso3c . Country-specific data such as the community and workplace contacts, the demography, and the distribution of the workforce into economic sectors is automatically accessed from package data for the relevant country name if it is passed as a string. To override package defaults for country characteristics, pass a<daedalus_country>
object instead. Seedaedalus_country()
for more.- initial_state_manual
An optional named list with the names
p_infectious
andp_asymptomatic
for the proportion of infectious and symptomatic individuals in each age group and economic sector. Defaults to1e-6
and0.0
respectively.
Value
An array with as many dimensions as N_VACCINE_DATA_GROUPS
(currently, 3); rows specify the age and economic groups, columns specify the
epidemiological compartments (including new infections and hospitalisations),
and array layers hold information on vaccination status (including new
vaccinations).