We will use the plotly package to plot a surface plot and a heat map of the volcano dataset.
27 August 2018
We will use the plotly package to plot a surface plot and a heat map of the volcano dataset.
suppressMessages(library(plotly)) plot_ly(z = ~volcano, type = "surface", colors = "Reds")
plot_ly(z = volcano, type = "heatmap", colors = "Reds")