Manual versus automatic transmission - a Shiny app to generate histograms of miles per gallon with adjustable bin size
author: Mark A. Jack date: 10/24/2015 font-family: 'Calibri'
A Shiny application is presented that allows to adjust the bin size in histograms illustrating the miles-per-gallon (mpg) for automatic and manual transmission from the data set mtcars.
Figure 1: Two histograms of mpg values in mtcars data set for automatic (am=1) and manual transmission (am=0).
The bin size in both histograms may be adjusted interactively with a slide bar. The bin size can be varied between 1 and 40 in units of 1 mile-per-gallon.
See the web link below: https://mjgrav2001.shinyapps.io/mtcars-app
Figure 2:
Figure 3:
Distribution of normalized residuals of regression models (t-student distributions).
The Shiny app allows to interactively adjust the bin size in mpg in a histogram. The bin size can be varied between 1 and 40 in units of 1 mile-per-gallon (mpg).
Main results: