Created
January 21, 2017 21:39
-
-
Save smzn/0e90798c7f8b1c4a8d76efca973829b6 to your computer and use it in GitHub Desktop.
PCA.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pca.pca <- function(name){ | |
pca_result <<- prcomp(name, scale=T) | |
pca_result | |
} | |
pca.summary <- function(name){ | |
summary(name) | |
} | |
pca.biplot <- function(name){ | |
biplot(name) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment