Description Usage Arguments Value
function to setup population sizes for each location, age, risk group, and labels associated with these, from data
| 1 | setup_populations_real_data(demography_filename, risk_propns, risk_factors)
 | 
| demography_filename | character vector of length 1: file where demographic data is located | 
| risk_propns | numeric vector: proportion of individuals in each age group. assumed to be the same across countries and age groups. | 
| risk_factors | numeric vector: degree of increased susceptibility in each risk group. assumed to be the same across countries and age groups. | 
list with the following elements: X: numeric vector of length n_groups = n_countries * n_ages * n_riskgroups containing the population sizes in each country, age, risk group labels: data frame containing three columns: the location, age, risk group corresponding to each element of X. nrow(labels) = length(X) pop_size: numeric vector of length n_countries containing the total population size in each country.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.