Description Usage Arguments Value Examples
This function computes age-specific fertility rates for a female, population being exposed (i.e. living years between age 15 and 45, see United Nations, 2008).
1 2 |
x |
The individual IDs of females of interests |
df_ped |
A dataframe |
evmat |
Event matrix (twins count as one) |
evmat_bak |
Event matrix (including all twins) |
include_twins |
Should twins count as multiple births? Default to FALSE |
treshold_date |
Maximum date to include mothers with completed fertility. Default is "1830-01-01" for the Krummhörn data. |
A dataframe with 'age', 'years' (i.e. number of years, where females have been exposed), 'nbirth' (number of births, or children being born see include_twins
), 'nwomen' (number of women being ever exposed), 'asfr' (resulting age-specific fertility rate in births/1000 women/year).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.