bmi: Body Mass Index (BMI) for adults

Description Usage Arguments Examples

Description

Calculate body mass index using weight in kg / (height in meters ^ 2)

Usage

1
2
3
bmi_adult(height_m, weight_kg, ...)

bmi_adult_ins_lbs(heightin, weightlb, ...)

Arguments

height_m

single numeric, height in meters

weight_kg

numeric vector of weight(s) in kg

...

passed to validation

heightin

height in inches

weightlb

weight in pounds

Examples

1
2
3
bmi_adult(1.6, 120)
bmi_adult(2, 75)
bmi_adult_ins_lbs(72, 200)

Example output

[1] 46.875
[1] 18.75
[1] 131.8352

physiology documentation built on May 2, 2019, 8:58 a.m.