Skip to contents

Helper function to make useful arguments to finalsize::final_size(), with the possibility to specify \(R_0\), which is set to 1.5 by default. Draws on the default U.K. POLYMOD social contacts dataset included in {finalsize}, with three age groups: 0 -- 20, 20 -- 40, and > 40. Assumes a single susceptibility group, with full susceptibility. Selects the Newton solver.

Usage

make_parameters_finalsize_UK(r0 = 1.5)

Arguments

r0

The basic reproductive number of an infection. Default is 1.5 for pandemic influenza.

Value

A list of arguments to finalsize::final_size().

Examples

pandemic_flu_args <- make_parameters_finalsize_UK(r0 = 1.5)
covid_args <- make_parameters_finalsize_UK(r0 = 5.0)