Function to estimate notional FOI for herd immunity based on R0 and population age distribution
Usage
imm_fraction_function(
log_lambda = -4,
R0 = 1,
ages = c(0:100),
pop_fraction = rep(1/101, 101)
)
Arguments
- log_lambda
Natural logarithm of force of infection
- R0
Basic reproduction number
- ages
List of age values
- pop_fraction
Population of each age group as proportion of total
'