rAoI.Rd
Draw random numbers for the AoI from a cohort, \(\hat A_\tau(a)\)
rAoI(N, a, FoIpar, tau = 0, hhat = 1, r = 1/200, alphamin = 0)
the number of observations
host age
a compound list to compute \(h_\tau(a)\)
the host cohort's birthday
a local scaling parameter for the FoI
the clearance rate for a simple infection
the minimum value of the AoI to return
a numeric vector of length(alpha)