Happy flower

Gjeffroy

April 24, 2017

About the iris dataset

This data sets consists of 3 different types of irises’ (Setosa, Versicolour, and Virginica) petal and sepal length, stored in a 150x4 numpy.ndarray

The rows being the samples and the columns being: Sepal Length, Sepal Width, Petal Length and Petal Width.

Implement the following code

library(ggplot2)
library(plotly)
library(tidyr)
data("iris")

iris.tidy <- iris %>%
  gather(Key, Value, -Species)%>%
  separate(col = Key, into =  c("type", "measure"), sep = "\\.")

g <- ggplot(iris.tidy, aes(x = Species, y = Value, col = type)) +
  geom_jitter() +
  facet_grid(. ~ measure)

ggplotly(g)

Slide with Plot

```