Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

principal component analysis in r

library(FactoMineR)
library(factoextra)
res.pca = FactoMineR::PCA(X, scale.unit = TRUE, ncp = 5, graph = TRUE)
factoextra::fviz_eig(res.pca, addlabels = TRUE, ylim = c(0, 50))
 
PREVIOUS NEXT
Tagged: #principal #component #analysis
ADD COMMENT
Topic
Name
2+2 =