cv_rt: Apply Rolling Cross-Validation to Rt Calculations Given...

Description Usage Arguments Value See Also

View source: R/estimate_boosted_rt.R

Description

cv_rt() computes the reproduction number for each sample in the results of cv_linelist_decomposition() .

Usage

1
cv_rt(.data, .ref, .t, serial_interval_mean, serial_interval_sd, half_trend)

Arguments

.data

The cross-validation results from cv_linelist_decomposition()

.ref

Reference Rt

.t

The quoted name of a date column corresponding to the observations in incid

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

Value

A list of tibbles with Rt estimates and associated errors

See Also

Other internal: bind_boosted_rt(), boost_rt(), reduce_rt_error(), summarize_rt_error(), validate_rt(), weight_rt_error()


jesse-smith/covidModel documentation built on Feb. 21, 2022, 3:23 p.m.