powered by
Take a snapshot of the 3D PCA to a file.
snapshotPCA3d(file)
Name of the file to save the snapshot to data( metabo ) pca <- prcomp( metabo[,-1], scale.= TRUE ) pca3d(pca, group=metabo[,1]) snapshotPCA3d("testfile.png")
This is just a wrapper around rgl.snapshot.