Antonio Martinez Pineda
02/22/16
One of the world wide health problems is obesity, only in de USA more than 78 millions of adults and 12.5 millions of children had obesity in 2013 (Fudin,2013).
Obesity increases the risk of other conditions like hypertension, type 2 diabetes and heart disease.
This illness can be prevented by changing eating habits, having enough physical activity and tracking weight and body mass.
Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women. It is very useful to screen for weight categories that may lead to health problems.
It is very simple to compute de BMI, when measures are in inches and pounds:
\[ BMI={weight \over height^2} * 307 \]
According to BMI:
Category | BMI level |
---|---|
Severly Underweight | \( \leq 16 \) |
Underweight | \( < 19 \) |
Normal weight | \( \geq 19 and < 26 \) |
Overweight | \( \geq 26 and < 30 \) |
Obese | \( \geq 30 \) |
The BMI Calculator allow to compute your BMI and display it graphically. Code of the shinyapp is available in here. This is an example of how BMI calculator works:
bmi<- function(weight,height) weight/height^2*703
Bmi<- bmi(weight=90.5, height=60.63); Bmi
[1] 17.30728