mrc-ide/deterministic-malaria-model

inc05 not giving incidence for under 5s

Opened this issue · 0 comments

inc05 is not created using the correct age brackets. I think equilibrium-init-create.R lines 74-75 need to be changed to >= signs so we get the index of the age vector right before age 5.

age59 <- which(age_vector * 12 >= 59)[1] - 1 # index of age vector before age is >59 months
age05 <- which(age_vector >= 5)[1] - 1 # index of age vector before age is 5 years