Setter method for contact matrices, or contact rates directly, for urban and rural communities in the SEIRD_RU model. Matrices must be of type double. NOTE: if inputting matrices, you MUST assign fraction_rural first, and you must input full age demographics, i.e. you cannot only provide the fraction of the population that is rural!
Source:R/SEIRD_RU.R
contact_rates-set.Rd
Setter method for contact matrices, or contact rates directly, for urban and rural communities in the SEIRD_RU model. Matrices must be of type double. NOTE: if inputting matrices, you MUST assign fraction_rural first, and you must input full age demographics, i.e. you cannot only provide the fraction of the population that is rural!
Usage
contact_rates(object) <- value