epi_final_size: Calculate final epidemic size

View source: R/epi_final_size.R

epi_final_sizeR Documentation

Calculate final epidemic size

Description

This function calculates final epidemic size using SIR model for heterogeneously mixing population

Usage

epi_final_size(r0 = 2, contact_matrix, demography_vector,
  prop_suscep = NULL)

Arguments

r0

Basic reproduction number. Default is 2

contact_matrix

Social contact matrix. Entry mm_ij gives average number of contacts in group i reported by participants in group j

demography_vector

Demography vector. Entry pp_i gives proportion of total population in group i (model will normalise if needed)

prop_suscep

Proportion of each group susceptible. Null assumption is fully susceptible

Examples

epi_final_size()

adamkucharski/SIRfinalsize documentation built on Jan. 6, 2023, 12:33 a.m.