Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

httk (version 1.6)

gen_height_weight: Generate heights and weights for a virtual population.

Description

Generate heights and weights for a virtual population.

Usage

gen_height_weight(hbw_dt)

Arguments

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.

Value

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.