CourseProject: Shiny App

Sonia Sharma
Sat Jan 30 15:32:10 2016

Exploratory Analysis of mtcars

This shiny app helps with the visualization and understanding of some of the basic aspects of the mtcars dataset.

The app consists of following tabs which perform different analyses on the data:

  • Data
  • Summary
  • Plot
  • Documentation (users guide to using the app)

Data Tab

  • Allows the viewers to look at the data
  • Allows control over the number of observations to be viewed (default observations is 7)
  • Shiny feature used here are sliderInput, operation on the input and, reactive output
  • Example: 1 observation of the data is given by
          mpg cyl disp  hp drat   wt  qsec vs am gear carb
Mazda RX4  21   6  160 110  3.9 2.62 16.46  0  1    4    4

Summary Tab

  • Allows users to choose a variable
  • Look at the type and summary statistics of individual variables
  • Shiny feature used here are selectInput, operation on the input and, reactive output
  • Example: For the variable “disp” the summary is
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
   71.1   120.8   196.3   230.7   326.0   472.0 

Plot Tab

  • Allows users to graphical look at relationship between any two variables
  • Depending upon the type of variables chosen (categorical/quantitative), we get scatterplot, or boxplots or barplots
  • Shiny feature used here are selectInput, operation on the input and, reactive output