January 18, 2018

Body Mass Index (BMI) Calculator

========================================================

The goal of the project was to create a simple Body Mass Index (BMI) Calculator.

The BMI is an attempt to quantify the amount of tissue mass (muscle, fat, and bone) in an individual, and then categorize that person as underweight, normal weight, overweight, or obese based on that value.

Mass should be in kg, height in m. Your mass and height should be provided as input by two sliders.

The app itself on the shiny server

Calculations

Calculations and rounding performed by the a simple code. Here we convert cm into m by dividing by 100.

The following code is used to plot the calculated BMI as compered to Categories. Green area is a normal BMI.

Plot

This example represents BMI=21.

Links