Generate heights and weights for a virtual population.
gen_height_weight(hbw_dt)
A data.table describing the virtual population by race, gender,
and age (in years and months). Must have variables gender
,
reth
, age
, and age.years
.
The same data.table with two new variables added: weight
and height
. Respectively, these give individual body weights in
kg, and individual heights in cm.