Compute the moments for the AoI density function for a cohort of age a
momentAoI.Rd
Compute the moments for the AoI density function for a cohort of age a
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
- n
the moment desired
Value
a numeric vector of length(a)