View source: R/aux_functions.R
sample_uncertainty_incidence_import | R Documentation |
Samples uncertainty in incidence and importation data
sample_uncertainty_incidence_import(df, ndraw = 100)
df |
dataframe containing the variables "cases" (reported cases), "cases_local" (number of reported cases) and "population" (population size) |
ndraw |
number of samples |
A dataframe with ndraw replicates of the original dataframe df, containing 4 additional variables.
h is the sampled daily incidence (cases per person day),
prop_import is the sampled proportion of imported cases
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.