Predict Child's Height

Shiny Application and Reproducible Pitch

Carlos Bautista

Introduction

The RStudio Shiny application was developed for the Coursera's Developing Data Products course project.

The following requirements were incorporated in the application.

  1. Write a shiny application with associated supporting documentation. The documentation should be thought of as whatever a user will need to get started using your application.
  2. Deploy the application on Rstudio's shiny server
  3. Share the application link by pasting it into the text box below
  4. Share your server.R and ui.R code on github
  5. Some form of input (widget: textbox, radio button, checkbox, ...)
  6. Some operation on the ui input in sever.R
  7. Some reactive output displayed as a result of server calculations
  8. You must also include enough documentation so that a novice user could use your application. The documentation should be at the Shiny website itself. Do not post to an external link.

Predict Child's Height Application

The Predict Child's Height application calculates the midparent's height which is the average of the father's height and 1.08 times the mother's. The applications also uses the midparent's to predict their child's height. The data source used for the simple linear regression prediction is Gatlton's height data for parents and children used in 1885.

Equation for calculating midparent's height:



MP = (F + (1.08 * M))/2
where:
MP = Midparent's height
F = Father's height
M = Mother's height

Application Widgets

The application contains three widgets:

  1. A numberic input field for father's height
  2. A numberic input field for mother's height
  3. A submit button to perform the calculation for the midparent's height

Application Location