Skip to contents

Draw random numbers for the AoI from a cohort, \(\hat A_\bday(a)\)

Usage

rAoI(N, a, FoI_a, bday = 0, hhat = 1, r = 1/200, alphamin = 0)

Arguments

N

the number of observations

a

cohort age

FoI_a

a cohort trace function

bday

the cohort birthday

hhat

a local scaling parameter for the FoI

r

the clearance rate for a simple infection

alphamin

the minimum value of the AoI to return

Value

a numeric vector of length(alpha)