
Calculate Body Mass Index
bmi.RdCalculate Body Mass Index
Details
BMI is calculated using the formula: $$BMI = \frac{W}{(H/100)^2}$$
where:
\(W\) = weight (kg)
\(H\) = height (cm)
See also
Other body_composition:
aibw(),
bmic(),
bsa(),
dubois_bsa(),
ibw(),
mosteller_bsa()
Examples
b <- bmi(80.56, 167)
df <- data.frame(
"WT" = c(80.56, 71.53, 81.04, 70.17),
"HT" = c(167, 161, 163, 164)
)
df <- dplyr::mutate(df, bmi = bmi(WT, HT))
df
#> WT HT bmi
#> 1 80.56 167 28.88594
#> 2 71.53 161 27.59539
#> 3 81.04 163 30.50171
#> 4 70.17 164 26.08938