View source: R/utlede_variabler.R
utlede_bmi | R Documentation |
Add variable bmi_manual Add manually calculatet value of Body Mass Index (BMI = weight in kilograms divided by the square of height in meters).
utlede_bmi(df)
df |
data.frame with ablanor-data. Must contain variables
|
Returns df
with 1 new column: bmi_manual
df <- data.frame(hoyde = c(150, 160, 170), vekt = c(95, 85, 65))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.