The BMI Calculator is just a simple example of a Shiny app devised for the Developing Data Products
course on Coursera. The source is hosted on GitHub, so feel free to fork it.
The app itself is hosted on shinyapps.io.
The BMI calculation is really trivial, the only thing to note is that you have to multiply the index by 703 if you are dealing with imperial units. For example person weighing 80kg at a size of 1.90m (with metric units now) would have a BMI of:
height = 1.9
weight = 80
weight/height^2 # BMI (for imperial units multiply by 703)
## [1] 22.16
which represents a normal healthy weight.