The youngest of N infections, random numbers
rYoN(R, N, a, FoIpar, hhat = NULL, tau = 0, r = 1/200, alphamin = 0)
Arguments
- R
the number of observations
- N
the number of infections per person
- a
the host cohort age
- FoIpar
parameters that define an FoI function
- hhat
a local scaling parameter for the FoI
- tau
the cohort birthday
- r
the clearance rate for a simple infection
- alphamin
the minimum value of the AoI to return