感觉上两者没有什么区别,
但是看了帮助 ??princomp
princomp only handles so-called R-mode PCA, that is feature extraction of variables. If a data matrix is supplied (possibly via a formula) it is required that there are at least as many units as variables. For Q-mode PCA use prcomp.
--难道说princomp对应的是 R型的分析,而 prcomp对应的是Q型的分析?
R型与Q型,我是在因子分析中看到:
因子分析根据研究对象的不同可以分为R型和Q型因子分析
R型因子分析研究变量之间的相关关系,
Q型因子分析研究样本之间的相关关系