Distribution of Length and Width of Petal and Sepal based on IRIS Species

MOHAMMAD SHADAN
22-SEP-2016

Developing Data Products Project
Shiny Application and Reproducible Pitch

Overview

Simple Shiny app which shows four Distribution Plots for Length and Width of Petals and Sepals after one of the IRIS Species is selected. The dataset used for this project is IRIS which is available in R.

About the IRIS Dataset
IRIS data set gives measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of three species of iris.

The three species of Iris are setosa, versicolor and virginica

The Sepals are the lower, or outermost, part of the flower (green and leaf-like)
The Petals are colored segments of the corolla of a flower

IRIS Data

Dimension

[1] 150   5

Column Names

   names.iris.
1 Sepal.Length
2  Sepal.Width
3 Petal.Length
4  Petal.Width
5      Species

User Input and Output from App

Input
User must select one of the three Species from the drop down on left.

Output
The Output should show below four Distribution plots in a single frame :

  • Plot 1: Distribution of Sepal Length
  • Plot 2: Distribution of Sepal Width
  • Plot 3: Distribution of Petal Length
  • Plot 4: Disbribution of Petal Width

Each plot will show Mean Line in red and value of mean will appear in the heading of each graph.

Please refer next slide for how one of the three outputs will appear.

Output

plot of chunk unnamed-chunk-3