make_model_cnt_linear | R Documentation |
Split dataset into a list of time-series, one for each country (splitting uses the iso_a3 variable) Filter the time-series to a time-frame defined by time_unit_extent Fill the gaps in the time-series, assuming that at missing date, cases and deaths = 0 Smoothing using moving average with a parameterable time-window (in days) Model time-series using a linear regression
make_model_cnt_linear(
series,
df = df_ecdc,
time_unit_extent = 12,
ma_window = 3,
min_sum = 30
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.