View source: R/get_sibship_visibility.R
get_ego_age_distn | R Documentation |
get_ego_age_distribution
get_ego_age_distn(ego.dat, only_females = TRUE)
only_females |
should only females be used to calculate age distribution? (default: True) |
ego_dat |
the ego dataset (probably from prep_dhs_sib_histories) |
dataframe with distribution of respondent ages by 5-year category, typically used in calculating the maternal or pregnancy-related mortality
ego_dat
is assumed to have two columns: wwgt
and age.cat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.