Description Usage Arguments Value Examples
Generates counts from a normal distribution density function.
| 1 | generate_counts(init_pop_size, n_timepoints, overall_prop, mean, sd)
 | 
| init_pop_size | Initial population size | 
| n_timepoints | Number of timepoints | 
| overall_prop | Overall proportion of the population to be included in the counts over all the timepoints | 
| mean | Mean of the normal distribution | 
| sd | Standard deviation of the normal distribution | 
An integer vector of counts of length n_timepoints
| 1 2 3 4 | # Tokars (2018) vaccinations
vacs_tok <- generate_counts(1e6, 304, 0.55, 100, 50)
# Tokars (2018) cases
casen_tok <- generate_counts(1e6, 304, 0.12, 190, 35)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.