Body Mass Index Calculator (BMI)

Aixa Rodriguez Salan
01/Octubre/2017

Overview

A basic shiny application was developed to calculate the Body Mass Index (bmi), based on values of weight and height using the formula devised by Adolphe Quetelet and supply your classification (healthy, overweight, obesity). Additional with the values of gender and age range provide the expected weight. For more information consult the Documentation Tab.

Data Set

Supposing a Female between 30-39 years, height=162 cms and weight=63kg the bmi and the expected weight can be calculated.

#bmi
63/(1.62*1.62)
[1] 24.00549
#expected weight
data<-read.csv("https://raw.githubusercontent.com/aixarodriguez/ShinyProject/master/data.csv")
subset(data,GENDER=="FEMALE" & HEIGHT==162,select=c("X30.39"))
   X30.39
54   59.6

Technical

To calculate the bmi, expected weight and the classification in the shiny app, was used the next code in server side:

Links