Skip to contents

Helper function to prepare a susceptibility matrix to be used internally to modulate the number of infections in vaccinated groups.

Usage

make_susc_matrix(vaccination, country)

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. See daedalus_country() for more.

Value

A matrix with dimensions as follows:

  • Rows: number of age and economic groups in country;

  • Cols: number of vaccination strata in the DAEDALUS model, given as N_VAX_STRATA.