BMI | R Documentation |
The BMI function helps to calculate BMI value and corresponding weight status while taking age into consideration. It help decide whether people are overweight or underweight for over 100 years.
BMI(inputdata)
inputdata |
Input data that includes height and weight of a person |
The body mass index (BMI) is a measurement based on a person's mass (weight) and height. The BMI is calculated by dividing the body weight by the square of the height, and it is expressed in kilogrammes per square metre (kg/m2) since weight is measured in kilogrammes and height is measured in metres. The function was created using formula given by Keys et al. (1972).
It returns body mass index (BMI) with present status
Pankaj Das
Keys, A., Fidanza, F., Karvonen, M.J., Kimura, N. and Taylor, H.L. ( 1972). Indices of relative weight and obesity. Journal of Chronic Diseases. 25(6): 329–343. (doi:10.1016/0021-9681(72)90027-6).
BMI, HealthCal
dataset44=c(175,90)
BMI(dataset44)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.