View source: R/alert_farrington.R
farrington_modified | R Documentation |
Modified Farrington Algorithm
farrington_modified(df, t = date, y = count, B = 4, g = 27, w = 3, p = 10)
df |
Nested dataframe |
t |
A column containing date values |
y |
A column containing time series counts |
B |
Number of years to include in baseline (default is 4) |
g |
Number of guardband weeks to separate the test date 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 |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.