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

ODE model functions should accept vectors of infection parameters #166

Closed
pratikunterwegs opened this issue Feb 7, 2024 · 0 comments · Fixed by #176
Closed

ODE model functions should accept vectors of infection parameters #166

pratikunterwegs opened this issue Feb 7, 2024 · 0 comments · Fixed by #176
Assignees
Labels
ODE model Related to the ODE models in epidemics R code Related to R code

Comments

@pratikunterwegs
Copy link
Collaborator

This issue is to request that model functions should accept vectors of infection parameters.

  1. The expected use case is laid out in this discussion, and in Integration with input distributions and potential for fitting #20;
  2. Options for the new API for model functions is discussed in Possible API for models #160, with toy examples shown in this Gist;
  3. This change is initially expected to be rolled out for the Rcpp implementations of ODE models only; see Reconsider R implementations of ODE models #162;
  4. Parameter input vectors are expected to follow Tidyverse recycling rules;
  5. Following this change, model functions are expected to return a nested data.frame or data.table, with one row per parameter combination.
@pratikunterwegs pratikunterwegs self-assigned this Feb 7, 2024
@pratikunterwegs pratikunterwegs added R code Related to R code ODE model Related to the ODE models in epidemics labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ODE model Related to the ODE models in epidemics R code Related to R code
Development

Successfully merging a pull request may close this issue.

1 participant