Skip to contents

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

Arguments

object

(SEIRD_RU model)

value

(list) list of contact matrices or contact rates.

Value

object of class SEIRD_RU with contact rates assigned.