3d Surface plots in R – conversion from dataframe to matrix for plot_ly
Does anyone have any advice, or can point me to a resource, to help with converting a dataframe to a matrix for use in a plot_ly 3d surface graph?
There are a few questions similar to this, but none of them seem to do the trick.