27 August 2018

Week 3 Assignment

We will use the plotly package to plot a surface plot and a heat map of the volcano dataset.

Surface Plot: Vulcano

suppressMessages(library(plotly))
plot_ly(z = ~volcano, type = "surface", colors = "Reds")

Heat Map: Vulcano

plot_ly(z = volcano, type = "heatmap", colors = "Reds")

Thank you very much!