contact_rates-set: Setter method for contact matrices, or contact rates...

contact_rates<-R Documentation

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!

Description

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.


Como-DTC-Collaboration/como-models documentation built on May 22, 2022, 9:33 a.m.