Tamer Salem
29 May 2020
Course Project: Shiny Application and Reproducible Pitch
Coursera Developing Data Products Course 9 Week 4
Calculations and rounding performed by the a simple code. Here we convert cm into m by dividing by 100.
number = round((semi1*.2)+(semi2*.2)+(input$final*.4)+(pract*.1)+(sport*.05)+(commd*.05))
The following code is used to plot the calculated BMI as compared to . Black area is a normal BMI.
dat<-matrix(c(33, 17, 10 ,20 , 20), ncol = 1, nrow = 5)
barplot(dat, horiz = TRUE, yaxt="n", xlab = "number", main="Your Performance", col=c("red", "blue", "yellow", "grey", "black"))
lines(x=c(21, 21), y=c(0,1.2), col="White", lwd=4)
This example represents Overall Percentage is 87 .It is GRADE A+ (Excellent)
[The Source code for the project]
(https://github.com/moooor/Developing-Data-Products)
[The app itself on the Shiny server]
(https://moooor.shinyapps.io/Shiny_Application_and_Reproducible_Pitch/)