Children Height Prediction App

Mariana Martins

18/08/2022

The objective

  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 provided text box

  4. Share your server.R and ui.R code on github

The app

Using the data provided by Galton Families dataset, we fit a linear model to predict a child’s height based on the gender and parent’s average height.

Having the mother, the father and the gender of their child we can see a prediction of the children height.

How to use the app

The application is running on: https://marianagmartins.shinyapps.io/ChildrenHeightApp/

ui.R, and Server.R Code in my github repository: https://github.com/marianagodmartins/Shiny-Application-and-Reproducible-Pitch

R Code

  family father mother midparentHeight children childNum gender childHeight
1    001 199.39 170.18           75.43        4        1   male     185.928
2    001 199.39 170.18           75.43        4        2 female     175.768
3    001 199.39 170.18           75.43        4        3 female     175.260
4    001 199.39 170.18           75.43        4        4 female     175.260
5    002 191.77 168.91           73.66        4        1   male     186.690
6    002 191.77 168.91           73.66        4        2   male     184.150