Description Usage Arguments Value
The week target is peculiar because MMWR weeks run from 1-52 (or 53 depending on the year) and week 1 is sequentially, immediately after week 52 (or 53).
1 | expand_week(truth, expand, week53 = F)
|
truth |
A data.frame with a single row and, at minimum, columns unit and value |
expand |
The number of weeks to expand around the observed truth. |
week53 |
A logical value (default 'FALSE') indicating whether to include MMWR week 53 in the expanded truth |
A data.frame with the same columns as 'truth' but additional rows around the observed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.