View source: R/prediction_model.v16.R
rt_empirical | R Documentation |
R_t
Compute empirical R_t
, via Cori et al. (2013) method.
rt_empirical(cases, window_size, serial_mean, serial_var)
cases |
Vector of (confirmed) cases. |
window_size |
The maximum value for the serial interval. |
serial_mean |
Mean of the serial interval on the log scale. |
serial_var |
Variance of the serial interval on the log scale. |
A vector of same length as cases, giving the empirical estimate of the effective reproductive number over time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.