Coursera Presentation shinyapp

Menno Oerlemans

4 december 2017

Introduction

The data

The variables are:
[,1] Fertility Common standardized fertility measure
[,2] Agriculture % of males involved in agriculture as occupation
[,3] Examination % draftees receiving highest mark on army examination
[,4] Education % education beyond primary school for draftees.
[,5] Catholic % ‘catholic’ (as opposed to ‘protestant’).
[,6] Infant.Mortality live births who live less than 1 year.

The app itself

Plot of Agriculture

The full code can be found in: https://github.com/MennoOerlemans/Myfirstapp

The code for the plot is:

mf <- lm(Fertility ~ Agriculture, data = swiss)
plot(y = swiss$Fertility, x = swiss$Agriculture, ylab="Fertility", xlab="Agriculture", col="red")
abline(mf)

Conclusion

The shiny application package is a usefull tool to present the results of a data study.