Learn R Programming

httk (version 1.8)

get_weight_class: Given vectors of age, BMI, recumbent length, weight, and gender, categorizes weight classes using CDC and WHO categories.

Description

Given vectors of age, BMI, recumbent length, weight, and gender, categorizes weight classes using CDC and WHO categories.

Usage

get_weight_class(age_years, age_months, bmi, recumlen, weight, gender)

Arguments

age_years

A vector of ages in years.

age_months

A vector of ages in months.

bmi

A vector of BMIs.

recumlen

A vector of heights or recumbent lengths in cm.

weight

A vector of body weights in kg.

gender

A vector of genders (as 'Male' or 'Female').

Value

A character vector of weight classes. Each element will be one of 'Underweight', 'Normal', 'Overweight', or 'Obese'.

References

Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118.