Description Usage Arguments Details
Take a snapshot of the 3D PCA to a file.
1 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.