View source: R/alert_farrington.R
seasonal_groups | R Documentation |
Return 10-level seasonal factor vector
seasonal_groups(B = 4, g = 27, w = 3, p = 10, base_length, base_weeks)
B |
Number of years to include in baseline (default is 4) |
g |
Number of guardband weeks to separate the test week from the baseline (default is 27) |
w |
Half the number of weeks included in reference window, before and after each reference date (default is 3) |
p |
Number of seasonal periods for each year in baseline (default is 10) |
base_length |
Total number of weeks included in baseline |
base_weeks |
Indices of baseline weeks |
A factor vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.