get_ego_age_distn: get_ego_age_distribution

View source: R/get_sibship_visibility.R

get_ego_age_distnR Documentation

get_ego_age_distribution

Description

get_ego_age_distribution

Usage

get_ego_age_distn(ego.dat, only_females = TRUE)

Arguments

only_females

should only females be used to calculate age distribution? (default: True)

ego_dat

the ego dataset (probably from prep_dhs_sib_histories)

Value

dataframe with distribution of respondent ages by 5-year category, typically used in calculating the maternal or pregnancy-related mortality

Details

ego_dat is assumed to have two columns: wwgt and age.cat


dfeehan/siblingsurvival documentation built on June 10, 2025, 11:40 p.m.