View source: R/utlede_variabler.R
utlede_bmi_klasse | R Documentation |
Add categories of Body Mass Index (BMI = weight in kilograms divided by the square of height in meters).
utlede_bmi_klasse(df)
df |
data.frame with ablanor-data. Must contain variable
|
Returns df
with 2 new columns: bmi_klasse
and bmi_over35
df <- data.frame(bmi_manual = c(15, 15.2, 19, 25, 26.7, 32.1, 41.0, NA))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.