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

Adding structure to foi_index in fit_seromodel #206

Open
ntorresd opened this issue Sep 9, 2024 · 0 comments
Open

Adding structure to foi_index in fit_seromodel #206

ntorresd opened this issue Sep 9, 2024 · 0 comments

Comments

@ntorresd
Copy link
Member

ntorresd commented Sep 9, 2024

In #200 @ben18785 raised the following concern about how we manage FOI indexation in the package:

foi_index as used in the fit_seromodel function seems a little unsafe to me. I also wasn't sure what this means from the function documentation, "Integer vector specifying the age-groups for which force-of-infection values will be estimated. It can be specified by means of [get_foi_index]". To illustrate my confusion, I wasn't sure in your example in the above whether the first element of foi_index corresponded to the oldest-aged individuals or the youngest. How about adding structure to this input? e.g. a data frame with (year, foi_index) for time models and (age, foi_index) for age models?

This is related to #204.

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