Get dates for which to use (trust) inferred daily reports
get_use_dates(cl.daily, cl.data, prm.daily.check, dates.only = TRUE)Data frame or vector, depending on dates.only
Data frame. Output of agg_to_daily().
Data frame. Must have variables:
date: calendar date of report
value: count of reported cases
List. Parameters for checking aggregated to daily report inference. Elements include:
agg.reldiff.tol: numerical tolerance (%) for relative error between aggregated inferred daily reports and original aggregated reports; chronological observations are dropped until this tolerance is first acheived (convergence at the start of the timeseries is often the worst, need to maintain uninterrupted daily timeseries for input into Rt calculation).
Set this entire argument to NULL to use inferred daily reports as is.
Logical. Return use dates only or all columns of cl.daily.