Using precalculated smoothing splines on NHANES log hematocrit vs. age in months (and KDE residuals) by gender and race/ethnicity, generate hematocrit values for individuals specified by age, gender, and race/ethnicity.
estimate_hematocrit(hcttmp_dt)
A data.table with columns age_years
,
age_months
, gender
, reth
.
The same data.table with a hematocrit
column added.
Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118.