Skip to contents

Setter method for demographic data for urban and rural communities in the SEIR model. If inputting demographic vectors, both vectors together must sum to 1.

Usage

country_demog(object) <- value

Arguments

object

(SEIRD_RU model)

value

(list) list of 2 sets of population fractions by age group, or a single value noting the fraction of the population that is rural.

Value

object of class SEIRD_RU with contact matrices assigned.