Description Usage Arguments Value
Using data and specified serial interval, finds the effective reproductive for each region while allowing for interaction between regions. The default serial interval uses an estimate for the United States on the weekly time scale.
1 2 | find_rts_strata(data, num_strata = 4, strata_mat = diag(4),
si_shape = 1.47, si_rate = 0.04529, k = 100)
|
data |
Dataframe to be used for estimating reproductive numbers. Must contain 'cases' column and numerical 'region' column. |
num_strata |
Integer for the number of strata that the data is being split by. Default is 4. |
strata_mat |
Matrix representing interactions between strata. |
si_shape |
Shape parameter for serial interval. |
si_rate |
Rate parameter for serial interval. |
k |
Maximum length of serial interval. |
List of effective reproductive numbers for each stratum and corresponding week numbers. For analysis, these reproductive numbers must be seperated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.