Skip to contents

Computes BMI from height and weight

Usage

compute_bmi(height, weight)

Arguments

height

HEIGHT value

It is expected that HEIGHT is in cm.

Permitted Values: numeric vector

weight

WEIGHT value

It is expected that WEIGHT is in kg.

Permitted Values: numeric vector

Value

The BMI (Body Mass Index Area) in kg/m^2.

Details

Usually this computation function can not be used with %>%.

See also

Examples

compute_bmi(height = 170, weight = 75)
#> [1] 25.95156