get_bmi: Returns an individuals body mass index, given metric units.

Description Usage Arguments Value Examples

View source: R/baxter.R

Description

The squared value of weight in kilograms divided by height in meters, which is converted by dividing cm by 100.

Usage

1
get_bmi(weight_kg, height_cm)

Arguments

weight_kg

Weight in kilograms, a number.

height_cm

Height in centimeters, a number.

Value

The BMI of a given individual, a number.

Examples

1
2
get_bmi(80, 182)
get_bmi(50, 160)

SchlossLab/exception-handling documentation built on Oct. 30, 2019, 11:50 p.m.