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

Update output helper functions for nested data.tables? #182

Closed
pratikunterwegs opened this issue Feb 20, 2024 · 1 comment
Closed

Update output helper functions for nested data.tables? #182

pratikunterwegs opened this issue Feb 20, 2024 · 1 comment
Assignees
Labels
Discussion Issues kept open for discussions in the comments Helper functions

Comments

@pratikunterwegs
Copy link
Collaborator

This issue requests that functions for epidemic size and new infections calculations should work on the output of vectorised model functions being added in #176. The return type of these helper functions is open for discussion - one straightforward option is to return the same type as the input, i.e., a data.frame/data.table for similar input, and a nested data.table with parameter set and scenario identifiers for similar input.

An alternative approach is to keep existing functionality (single-run, data.frame-like input), and show users how to run this function over a list column in a nested data.table/tibble.

@pratikunterwegs
Copy link
Collaborator Author

Superseded by outcomes_averted() in #225 and #230.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Issues kept open for discussions in the comments Helper functions
Development

No branches or pull requests

1 participant