How to make an interactive 3D histogram that can rotate?
This is my R code for the 3D histogram. (z is a matrix)
hist3D(z=z, border="black", axes=TRUE, space=0.2, label=TRUE,ylab="Control", xlab="Treatment", zlab="Frequency",theta = 40, phi = 25,bty = "g",nticks=2, col=c("yellow","green", "red"), colvar=colvar, main="3D Histogram: Treatment Vs. Control", colkey = FALSE)