get_use_dates {ern} | R Documentation |
Get dates for which to use (trust) inferred daily reports
Description
Get dates for which to use (trust) inferred daily reports
Usage
get_use_dates(cl.daily, cl.data, prm.daily.check, dates.only = TRUE)
Arguments
cl.daily |
Data frame. Output of agg_to_daily() .
|
cl.data |
Data frame. Must have variables:
|
prm.daily.check |
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.
|
dates.only |
Logical. Return use dates only or all columns of cl.daily .
|
Value
Data frame or vector, depending on dates.only
[Package
ern version 2.0.0
Index]