11/10/2017

R Markdown

This presentation will be about the diamonds data set. You must load the data set, create new slides, add jpegs or gifs, and add in bullet points.

Slide with Bullets

  • Load the diamonds data set.
library(ggplot2)
data(diamonds)
  • Create a plot with the data.
ggplot(data=diamonds) + geom_point(mapping=aes(x=price, y=carat), color="darkgreen")

- This scatterplot illustrates the distribution of diamond price relative to their carat. Creating such a plot helps us draw conclusions about the data.

Slide with Image

Now we can better understand the value of diamonds just at first glance!