Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inc05 not giving incidence for under 5s #49

Open
htopazian opened this issue May 24, 2021 · 0 comments
Open

inc05 not giving incidence for under 5s #49

htopazian opened this issue May 24, 2021 · 0 comments

Comments

@htopazian
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant