30/6/2019

Assignment

Create a web page presentation using R Markdown that features a plot created with Plotly.

Content

In this presentation:

  • Code source
  • Plotly visualization

Source code

library(plotly)

mt <- read.csv("mtcars.csv") 

datos <-  select(mt,cyl,hp,mpg,wt)

summary(datos)
##       cyl              hp             mpg              wt       
##  Min.   :4.000   Min.   : 52.0   Min.   :10.40   Min.   :1.513  
##  1st Qu.:4.000   1st Qu.: 96.5   1st Qu.:15.43   1st Qu.:2.581  
##  Median :6.000   Median :123.0   Median :19.20   Median :3.325  
##  Mean   :6.188   Mean   :146.7   Mean   :20.09   Mean   :3.217  
##  3rd Qu.:8.000   3rd Qu.:180.0   3rd Qu.:22.80   3rd Qu.:3.610  
##  Max.   :8.000   Max.   :335.0   Max.   :33.90   Max.   :5.424

Slide with Plot

Thank you

Thank you.