Skip to content

Instantly share code, notes, and snippets.

@smzn
Created January 21, 2017 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smzn/0e90798c7f8b1c4a8d76efca973829b6 to your computer and use it in GitHub Desktop.
Save smzn/0e90798c7f8b1c4a8d76efca973829b6 to your computer and use it in GitHub Desktop.
PCA.R
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