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 list of model component sets #167

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

ODE model functions should accept list of model component sets #167

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

pratikunterwegs commented Feb 7, 2024

This issue is to request that model functions should accept lists of intervention and vaccination (collectively called model component sets).

  • This is an extension of a use case laid out in this discussion, and would allow users to define a list of intervention sets and pass them to a single function call, making it more convenient to run multiple intervention scenarios.
intervention_set_01 = list(school_closure, mask_mandate)
intervention_set_02 = list(workplace_closure, mask_mandate, therapeutic_rollout)

model_default_cpp(
  population,
  intervention = list(intervention_set_01, intervention_set_02)
)
@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