function to calculate the BMI with the non-standard formulae: \(BMI = weight / (height/100)^(2.5) \) which is suggested to provide a measurement that it less dependent on height.
bmi_calc2(height, weight, unit = list(height = "cm", weight = "kg"))
height | height |
---|---|
weight | weight |
unit | list of weight and heigt with units for the measures |
numeric vector of BMI
Other bmi functions:
bmi_calc()
bmi_calc2(176, 72)#> [1] 17.52067