Course Project: Shiny Application and Reproducible Pitch Application: BMI Calculator Shiny App Author: Your Name
Many people know their weight and height but do not know their BMI. BMI is a simple index that roughly indicates whether a person is underweight, normal, overweight or obese. The goal of this app is to give users an easy way to calculate BMI using a web interface.
User inputs: Weight Height Unit system: Metric (kg, cm) or Imperial (lb, inches) Server logic: Uses the standard BMI formula based on the selected unit system. Output: Numeric BMI value (rounded to two decimals) Corresponding BMI category: Underweight, Normal weight, Overweight, or Obese.
weight_kg <- 70 height_m <- 1.70 bmi_example <- weight_kg / (height_m ^ 2) bmi_example ## [1] 24.22145