Description Usage Arguments Value Author(s)
PCA Scores Plot Using ggplot2
This function is a simple wrapper for plotting two-way scatter plots
of principal component scores using GGally::ggpairs
.
1 |
x |
a matrix of data (n x p) |
npc |
an integer number of principal components |
labs |
labels for the different clusters |
idiag |
a boolean whether to include |
a ggpairs
plot of the PC scores
Patrick Kimes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.