Skip to contents

A simple calculation for the effective \(R_\text{eff}\), allowing for heterogeneity in social contacts and the proportion of each age group remaining susceptible. This assumes a single susceptible stratum with full susceptibility, and will be updated in future versions to account for the addition of vaccination strata with reduced susceptibility.

Usage

r_eff(r0, state, cm)

Arguments

r0

The basic reproduction number.

state

The ODE state variable. Must be an array.

cm

The contact matrix.

Value

A single numeric value for the \(R_\text{eff}\).