extract_PC | R Documentation |
This function performs PCA on a given matrix and returns a PCA matrix.
extract_PC(data, num_PCs = 2)
data |
A data frame to conduct PCA |
num_PCs |
Number of PCs to be extracted |
A PCA matrix with num_PCs
columns
Boyang Zhang <bzhang34@jhu.edu>, Hongkai Ji
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.