Description Usage Arguments Value See Also
View source: R/estimate_boosted_rt.R
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()
.
1 2 3 4 5 6 7 8 9 | validate_rt(
.data,
.ref,
incid,
.t,
serial_interval_mean,
serial_interval_sd,
half_trend
)
|
.data |
The cross-validation results from |
.ref |
Reference Rt |
incid |
The quoted name of a numeric column containing the incidence curve |
.t |
The quoted name of a date column corresponding to the observations
in |
serial_interval_mean |
The average number of days between infection of a primary case and a secondary case |
serial_interval_sd |
The standard deviation of the number of days between infection of a primary case and a secondary case |
half_trend |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.