calibrate_rt.Rd
calibrate_rt()
uses the methodology of Cori et al 2013 to estimate the time-
varying reproduction number. It calls
estimate_R(method = "parametric_si")
under
the hood. It purposefully does not support aggregating counts over multiple
time periods due to poor coverage of the resulting credible intervals, as
well as shifting of the results due to lagging of the results. Use
the trend
argument in
prep_linelist()
to pre-smooth the
data instead.
calibrate_rt(
.data,
incid = "trend",
.t = "collection_date",
serial_interval_mean = 6,
serial_interval_sd = 4.17
)
A data frame containing the incidence curve and dates
The quoted name of a numeric column containing the incidence curve
The quoted name of a date column corresponding to the observations
in incid
The average number of days between infection of a primary case and a secondary case
The standard deviation of the number of days between infection of a primary case and a secondary case
A tibble
with columns .t
, .pred
(the median), .pred_lower
(the lower bound of the 95% credible interval), .pred_upper
(the upper bound of the 95% credible interval), .mean
(the average), and
.cv
(the coefficient of variation)