Compute the moments of P_density
moments_parasite_density.Rd
Compute $$P_\tau(a| h) \sim f_P(\xi; a, \tau |h ) = \int_0^a \Omega(\xi|F_\mu(\alpha)) \; f_A(\alpha; a, \tau | h) d\alpha$$
Usage
moments_parasite_density(
a,
FoIpar,
tau = 0,
n = 1,
dt = 0.1,
hhat = 1,
r = 1/200,
par_RBC = par_lRBC_static(),
par_Fmu = par_Fmu_base(),
par_Omega = par_Omega_beta(),
pWda = par_Wda_none()
)
Arguments
- a
host cohort age
- FoIpar
parameters that define an FoI function
- tau
the cohort birthday
- n
the moment to compute
- dt
the mesh size over xi
- hhat
a local scaling parameter for the FoI
- r
the clearance rate for a simple infection
- par_RBC
parameters to compute log10RBC
- par_Fmu
parameters to compute Fmu
- par_Omega
parameters to compute d_Omega
- pWda
parameters to dispatch Wda
Value
a numeric vector of length(x)