Draws ages from a smoothed distribution for a given gender/race combination
age_draw_smooth(g, r, nsamp, agelim_months)
Gender. Either 'Male' or 'Female'.
Race/ethnicity. One of 'Mexican American', 'Other Hispanic', 'Non-Hispanic Black', 'Non-Hispanic White', 'Other'.
Number of ages to draw.
Two-element numeric vector giving the minimum and maximum ages in months to include.
A named list with members 'ages_months' and 'ages_years', each
numeric of length nsamp
, giving the sampled ages in months and
years.
Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118.