Damian Brunold
17 july 2016
I took the dataset 'cars' from R and used it to create a shiny application for exploring the relation between speed and stopping distance of a car.
The data is from about 1920, so it certainly does not apply directly to our time.
The solid line represents the polynomial linear model of order two, that was fit to the data and is used to predict the stopping distance.
You can learn more about the cars dataset here:
https://stat.ethz.ch/R-manual/R-devel/library/datasets/html/cars.html
You can access the shiny app here:
https://damianbrunold.shinyapps.io/shinyapp/
You can find the code here: