validate_rt.Rd
validate_rt()
calculates Rt and "forecast" errors from a
a sample decomposition, a reference decomposition, and decomposition
parameters. It is designed to be used as a mapping function passed to
map()
within
cv_decomposition()
.
validate_rt(
.data,
.ref,
incid,
.t,
serial_interval_mean,
serial_interval_sd,
half_trend
)
The cross-validation results from cv_linelist_decomposition()
Reference Rt
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
The portion of the trend conditional on future data
A tibble of rt estimates and associated errors in each summary statistic
Other internal:
bind_boosted_rt()
,
boost_rt()
,
cv_rt()
,
reduce_rt_error()
,
summarize_rt_error()
,
weight_rt_error()