Sample a linelist from case counts and a reporting delay distribution

linelist_from_case_counts(cases = NULL)

Arguments

cases

Dataframe with two variables: confirm (numeric) and date_report (date).

Value

A linelist grouped by day as a data.table with two variables: date_report, and daily_observed_linelist