BMI | R Documentation |
The function returns the BMI.
Make sure the unit of height is centimeter (cm) and the unit of weight is kilogram (kg).
Score_BMI(data,ht="Height",wt="Weight")
data |
input data |
ht |
the variable name of height in the data. The default is “Height” |
wt |
the variable name of weight in the data. The default is “Weight” |
Wangcheng Yan, Wenjun Zhou
https://en.wikipedia.org/wiki/Body_mass_index
library(Fruved)
data("STRESS_IPAQ_BMI")
Score_BMI(STRESS_IPAQ_BMI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.