Description Usage Arguments Value
Convert season week to year week
1 2 | season_week_to_year_week(season_week, first_season_week = 31,
weeks_in_first_season_year)
|
season_week |
vector of indices of weeks in season |
first_season_week |
number of week in year corresponding to the first week in the season. For example, our code takes this value to be 31: a new influenza season starts on the 31st week of each year. |
weeks_in_first_season_year |
How many MMWR weeks are in the first year of the season? For example, in the 2000/2001 season, the first year is 2000. There were 52 MMWR weeks in 2000. |
vector of the same length as season_week with the week of the year that each observation falls on
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.