Skip to content

Instantly share code, notes, and snippets.

@chasemc
Created February 15, 2018 16:19
Show Gist options
  • Save chasemc/4ae9941ee775b10211ba3e17a953f3f0 to your computer and use it in GitHub Desktop.
Save chasemc/4ae9941ee775b10211ba3e17a953f3f0 to your computer and use it in GitHub Desktop.
Old PCA RGL
#
# output$pcaplot3d <- renderRglwidget({
#
# e<-pcaCalculation()
#
# if(!any(names(e) == 'd')){
# e<-cbind(e,d=rep("black",length(e[,1])))
# }
#
# e<-as.data.frame(e)
#
#
# options(rgl.useNULL=TRUE)
# #plot3d(x=e$Dim.1,y=e$Dim.2,z=e$Dim.3,xlab="", ylab="", zlab="")
#
#
#
#
#
# })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment