Learn R Programming

pca3d (version 0.10.2)

snapshotPCA3d: Save a 3D PCA snapshot

Description

Take a snapshot of the 3D PCA to a file.

Usage

snapshotPCA3d(file)

Arguments

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")

Details

This is just a wrapper around rgl.snapshot.