Calculating Car Stopping Distance

Damian Brunold
17 july 2016

Introduction

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.

A look at the data

plot of chunk unnamed-chunk-1

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.

A look at the shiny app

Screenshot

References

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:

https://github.com/damianbrunold/shinyapp