-
This module aims to develop a
R
code and aRshiny
application to predict the body fat percentage for MEN. -
This
shiny
app asks users to enter different measurements likeheight
,weight
,abdomen
andage
, calculatesbody fat
percentage, and shows result and suggestions accordingly! -
code contains all of the raw code written in
R language
and shiny app code -
output contains two page summary for the module
-
images contains all of the plots and tables produced during analysis
-
Before running this code you need to install R-Studio, R-CRAN and R packages like
car
,MASS
,carplot
andggplot2
-
Shiny code can be run in
Rstudio
similar toR
script -
Install packages
shiny
and shinythemes before running the script -
Set
Stat628_Module2
as a working directory -
To run the r code use script BodyFatCalculatorFinalCode
-
To run the shiny code use script bodyfatshiny_FINALapp.R
Two page Summary can be found at Summary
We have hosted our Shiny app at BodyFatCalculator