Description Usage Arguments Value
Estimate r(t) with confidence intervals
1 2 3 4 5 6 7 8 9 10 | rt_estimation_ci(
incidence,
ci_lower,
ci_higher,
n_resample = 200,
level = 0.95,
shift_amt = 0,
n = 7,
hide_invalid = TRUE
)
|
incidence |
incidence timeseries, vector |
ci_lower |
lower confidence interval estimated from linear_filter, vector |
ci_higher |
upper confidence interval estimated from linear_filter, vector |
n_resample |
number of bootstrapping attempts for confidence interval estimation |
level |
confidence interval level |
shift_amt |
number of timesteps to shift estimation back by (integer) |
n |
number of timesteps to filter (longer is smoother), must be odd |
hide_invalid |
whether or not to return NA for the first/last n-1 times |
dataframe with estimated r(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.