View source: R/alert_farrington.R
farrington_original | R Documentation |
Original Farrington Algorithm
farrington_original(df, t = date, y = count, B = 4, w = 3)
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) |
w |
Half the number of weeks included in reference window, before and after each reference date (default is 3) |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.