The density of the AoI is given by $$f_A(\alpha | a, \tau, h) = \frac{\int_0^a z(\alpha, a)}{m_\tau(a)}$$

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

Arguments

alpha

the age of an infection, \(\alpha\)

a

host age

FoIpar

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

tau

the host cohort's birthday

hhat

scaling parameter for FoI

r

the clearance rate for a simple infection

Value

a numeric vector of length(alpha)