Plotly Assignment3

Roland Pfeifer

6 December 2017

R Markdown for Plotly

This is an R Markdown document for Plotly Assignment-3

library(plotly)

Including Plots

p <- plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length,
             type = "scatter", size = ~Sepal.Width)
p
## No scatter mode specifed:
##   Setting the mode to markers
##   Read more about this attribute -> https://plot.ly/r/reference/#scatter-mode

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.