July 31, 2019

Introduction

Purpose: To use an Rmd file to practice presentation slides and plotly charts.

Method: Perform exploratory data analysis on ‘airquality’ dataset to employ plotly charts.

Data: airquality

Dataset: mtcars

This is the structure of the dataset that we will be analyzing:

## 'data.frame':    153 obs. of  6 variables:
##  $ Ozone  : int  41 36 12 18 NA 28 23 19 8 NA ...
##  $ Solar.R: int  190 118 149 313 NA NA 299 99 19 194 ...
##  $ Wind   : num  7.4 8 12.6 11.5 14.3 14.9 8.6 13.8 20.1 8.6 ...
##  $ Temp   : int  67 72 74 62 56 66 65 59 61 69 ...
##  $ Month  : int  5 5 5 5 5 5 5 5 5 5 ...
##  $ Day    : int  1 2 3 4 5 6 7 8 9 10 ...

Plotly 1: Scatterplot,

Below is a plot of Solar.R (x) by Ozone (y), colored by month (5 = May –> 9 = Sept), with sizes corresponding to the temperatures at each observation.

Plotly 2: 3D-Scatterplot

Below is the same plot from the previous slide, but in 3D-scatterplot format (z = Month).

End

This is the end of the presentation.