Learn R Programming

physiology (version 1.2.1)

bmi_adult: Body Mass Index (BMI) for adults

Description

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

Usage

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

Run this code
# NOT RUN {
bmi_adult(1.6, 120)
bmi_adult(2, 75)
bmi_adult_ins_lbs(72, 200)
# }

Run the code above in your browser using DataLab