bmi_calc: Calculate BMI

Description Usage Arguments Value See Also Examples

View source: R/bmi-functions.R

Description

function to calculate the BMI with the standard formulae: BMI = weight / (height/100)^2

Usage

1
bmi_calc(height, weight, unit = list(height = "cm", weight = "kg"))

Arguments

height

height

weight

weight

unit

list of weight and heigt with units for the measures

Value

numeric vector of BMI

See Also

Other bmi functions: bmi_calc2()

Examples

1
bmi_calc(176, 72)

LCBC-UiO/Conversions documentation built on Dec. 19, 2020, 5:28 a.m.