DataProducts_Week3_Project

Rad

11/12/2019

R Markdown

This is an R Markdown presentation that shows a 3-dimensional chart using plotly package.

Slide with R Output

library("plotly")
## Loading required package: ggplot2
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
set.seed(2019-11-11)
temperature<-rnorm(50,mean=30,sd=5)
pressure<-rnorm(50)
time<-1:50
plot_ly(x = temperature, y=pressure,z=time,type="scatter3d", mode="markers",color=pressure)