Add categories of Body Mass Index (BMI = weight in kilograms divided by the square of height in meters).

utlede_bmi_klasse(df)

Arguments

df

data.frame with ablanor-data. Must contain variable bmi.

Value

Returns df with 2 new columns: bmi_klasse and bmi_over35

Examples

df <- data.frame(bmi_manual = c(15, 15.2, 19, 25, 26.7, 32.1, 41.0, NA))