sgpohlj
The Body mass index (BMI) is a simple index of weight-for-height that is commomly used to classify underweight, overwight and obesity in adults. According to World Health Organization (WHO), the classification of the BMI of an adult is as follows:
The BMI is derived from that ratio of weight of the body in kilograms to the square of its height in meters. The formula is the following:
BMI = weight(kg) / height(metres)*height(metres)
An example is as follows:
weight=70
height=1.7
BMI=weight/(height*height)
BMI
[1] 24.22145
We use the following function to determine the BMI classification:
classification<-function(weight,height){
BMI_value<-weight/(height^2)
ifelse(BMI_value<18.5,"Underweight",ifelse(BMI_value<25,"Normal Weight",ifelse(BMI_value<30,"Overweight","Obesity")))
}
Using our example whereby weight=70kg and height=1.7m, the classification of this adult would be:
classification(70,1.7)
[1] "Normal Weight"
The BMI is a relatively simple and easy method for establishing the weight status of a person and in particular, it correlates reasonably well with their level of body fat.
However, the BMI is only considered an proxy to a person's body fat. There are other factors such as fitness level, health status, ethnicity, age and gender that could affect one's BMI with body fat, and hence should be taken into consideration as well.
Thank You