📜  主成分分析 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:58.153000             🧑  作者: Mango

代码示例1
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))