Description Usage Arguments Value Examples
View source: R/estimate_littler.R
Estimate r
1 | estimate_little_r(sample, min_time = NULL, max_time = NULL)
|
sample |
A datatable containing a numeric cases variable. |
min_time |
Numeric, minimum time to use to fit the model. |
max_time |
Numeric, maximum time to use to fit the model. |
A datatable containing an estimate of r, its standard deviation and a measure of the goodness of fit.
1 2 3 4 | cases <- data.table::setDT(EpiSoon::example_obs_cases)[,
cases := as.integer(cases)]
estimate_little_r(cases)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.