est_birthdays | R Documentation |
Approximate average birthdays per annum in a reference period and age group between two censuses. We do this by taking geometric means within ages, either from age x in census 1 and age x + 5 in census 2 (nx.method = 2
), or from ages x and x+5 in both censuses. We also divide out the age group width, presumably 5.
est_birthdays(pop1, pop2, AgeInt = NULL, nx.method = 2)
pop1 |
numeric vector of population counts by age from census 1. |
pop2 |
numeric vector of population counts by age from census 2. |
AgeInt |
numeric vector of age interval widths |
nx.method |
either 2 or 4. 4 is smoother. |
numeric vector of estiamte birthdays per annum per age
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.