Mary0523
10/14/2018
This project contains two parts. This is the second part: use Slidify or Rstudio Presenter to prepare a reproducible pitch presentation about your application.
Requirement:
This application is used to calculate due date for baby. Link for the application: https://mary0523.shinyapps.io/myapp/
Click on “Get my due date”
On the up right side of the website you will get the estimated due date
The formula used by this application is adaped from Naegele's rule
#First day of last menstrual period
date1<-as.numeric(as.Date("2018-10-14",origin = "1970-01-01"))
#Average cycle duration
duration<-28
#Estimated due date
as.Date(date1+(273-21+duration),origin = "1970-01-01")
[1] "2019-07-21"
Link to R code for the application and this presentation is on github:
https://github.com/Mary0523/Developing-Data-Products-Assignment4