Skip to contents

Solve the system of differential equations to compute the moments of the AoI over time.

Usage

solve_dAoI(h, FoI_a, r = 1/200, bday = 0, Amax = 730, dt = 1, N = 3)

Arguments

h

the force of infection

FoI_a

a cohort trace function

r

the clearance rate for a simple infection

bday

the cohort birthday

Amax

The maximum runtime (in days)

dt

The output frequency (in days)

N

The total number of moments to compute

Value

a data.frame with the orbits