4 de febrero de 2017

Instruction

Create a web page presentation using R Markdown that features a plot created with Plotly. Host your webpage on either GitHub Pages, RPubs, or NeoCities. Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly. We would love to see you show off your creativity!

Slide with R Code

  • Loading libraries
  • Setting seed
  • Formatting data frame
library(ggplot2)
library(plotly)
set.seed(04-02-2017)
hair_eye = as.data.frame(HairEyeColor)

Slide with R Plot

Plotting relationship between hair colour, eye, colour and sex