View source: R/forecasting_practical.R
subset_incidence_data | R Documentation |
subset_incidence_data
takes the incidence data and subsets it for the weeks of interest.
subset_incidence_data(incidence_data, current_week, n_weeks_prior)
incidence_data |
data frame extracted by |
current_week |
numeric vector of length 1: week number of the current week |
n_weeks_prior |
numeric vector of length 1: number of weeks' previous data to use |
data frame for weeks of interest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.