Description Usage Arguments Note
Takes population counts by age group and returns the population proportions for single-year age groups
1 2  | format_age(age_data, gsize = 5, minAge = 20, maxAge = 85,
  format = FALSE)
 | 
age_data | 
 Population age structure data frame OR file  | 
gsize | 
 Number of years covered by each age group  | 
minAge | 
 Optional lower age limit for the population  | 
maxAge | 
 Optional upper age limit for the population  | 
format | 
 Does the input need to be formatted? If so, age_data can be a .csv file  | 
See bcimodel/data-raw/agestructure.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.