📅  最后修改于: 2022-03-11 14:51:58.153000             🧑  作者: Mango
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))