View source: R/utils-calc-mean-age.R
calc_mean_age | R Documentation |
Calculate mean age in the population
calc_mean_age(agemat = NULL, maxage = NULL)
agemat |
matrix of ages |
maxage |
maximum age to include in the calculation |
A vector of the mean ages by year, with names attribute as year names (character)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.