dAoI.Rd
The density of the AoI is given by fA(α|a,τ,h)=∫a0z(α,a)mτ(a)
dAoI(alpha, a, FoIpar, tau = 0, hhat = 1, r = 1/200)
the age of an infection, α
host age
a compound list to compute hτ(a)
the host cohort's birthday
scaling parameter for FoI
the clearance rate for a simple infection
a numeric vector of length(alpha)