bmi | R Documentation |
bmi
calculates the BMI in kilograms per meter squared.
bmi(mass, height)
mass, height |
A numerical vector with body mass and height data. |
Returns a double vector with the element-wise body mass index (BMI).
bmi_cat()
mass <- sample(50:100, 20)
height <- rnorm(20, mean = 1.7, sd = 0.2)
bmi(mass, height)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.