e_calc_bmi_categories | R Documentation |
BMI category labels using CDC classification
e_calc_bmi_categories(
bmi,
bmi_breaks = c(-Inf, 18.5, 25, 30, Inf),
bmi_labels = c("Underweight", "Normal or Healthy Weight", "Overweight", "Obese")
)
bmi |
BMI value |
bmi_breaks |
Breaks defining labeled ranges, intervals are closed on the left |
bmi_labels |
Labels for values between break values including lower bound |
bmi_cat, categorical levels of BMI
e_calc_bmi(60, 150) |> e_calc_bmi_categories()
e_calc_bmi(seq(40, 70, by = 5), 150) |> e_calc_bmi_categories()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.