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

Add vignette on age-stratified hospitalisation and death rates #5

Merged
merged 5 commits into from
Oct 19, 2023

Conversation

joshwlambert
Copy link
Member

This PR adds a vignette that describes how to simulate a linelist with age-stratified hospitalisation and death rates.

A link has been added to the simulist.Rmd vignette to direct readers interested in the age-dependent rates to the new vignette.

The .check_rate_df() function has been updated to catch more types of incorrect rate data frames. It now catches:

  • Overlapping age groups
  • Ages missing in the age groups but within the age range specified (age_range) (i.e. non-contiguous age brackets)

@joshwlambert joshwlambert added the documentation Improvements or additions to documentation label Oct 19, 2023
@joshwlambert joshwlambert merged commit af6dd79 into main Oct 19, 2023
9 checks passed
@joshwlambert joshwlambert deleted the age_strat_vig branch October 19, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant