Open SimonDedman opened 6 years ago
NFF plotly code, see https://plotly.com/r/3d-scatter-plots/
Example of a 3d scatter plot with plotly:
library(plotly)
" d3_chi_plot3 <- (plot_ly( data = reef.df3, x = ~maxn_shark, y = ~teleost_maxn, z = ~chi_benthos_percent, type = "scatter3d", mode = "markers", color = ~geo)) %>% layout( scene = list( xaxis = list( title = "Shark MaxN"), yaxis = list(title = "Pred. Teleost MaxN"), zaxis = list(title ="CCA + Hard Coral Percent Cover") ) )
d3_chi_plot3 "
option to auto-export biggest interactions datasets to be plotted later if people want?
Are the biggest interactions a function of the values of the variables? If you centre and scale everything to 1, do the biggest interactions change?
@CourtneyKnaur
Maybe run this only for variable combinations with significant interactions to see if there's a shape?