The mean multiplicity of infection (MoI) is $$m_\tau(a|h) = \int_0^a z_\tau(\alpha, a|h) d \alpha$$

meanMoI(a, FoIpar, tau = 0, hhat = 1, r = 1/200)

Arguments

a

host age

FoIpar

a compound list to compute \(h_\tau(a)\)

tau

the host cohort's birthday

hhat

a local scaling parameter for the FoI

r

the clearance rate for a simple infection

Value

a numeric vector of length(a)