bmi
calculates the BMI in kilograms per meter squared.
calculate_bmi(mass, height)
Arguments
- mass, height
A numerical vector with body mass and height data. `mass`
unit must be kilograms and `height` unit must be meters. If the `height`
unit is centimeters, it is converted to meters before BMI computation and
a warning is shown.
Value
Returns a double vector with the element-wise body mass index (BMI).
bmi(mass, height)