繁体   English   中英

如何设置显示R中来自factanal()的因子负荷的级别?

[英]How to set the level above which to display factor loadings from factanal() in R?

我正在使用数据state.x77进行因子分析,默认情况下该数据位于R中。 运行分析后,我检查了因素负荷。

> output = factanal(state.x77, factors=3, rotation="promax")
> ld = output$loadings
> ld

Loadings:
           Factor1 Factor2 Factor3
Population  0.161   0.239  -0.316 
Income     -0.149   0.681         
Illiteracy  0.446  -0.284  -0.393 
Life Exp   -0.924   0.172  -0.221 
Murder      0.917   0.103  -0.129 
HS Grad    -0.414   0.731         
Frost       0.107           1.046 
Area        0.387   0.585   0.101 

               Factor1 Factor2 Factor3
SS loadings      2.274   1.519   1.424
Proportion Var   0.284   0.190   0.178
Cumulative Var   0.284   0.474   0.652

看起来默认情况下,R将阻止所有小于0.1的值。 我想知道是否有办法手动设置此阻止级别,比如说0.3而不是0.1?

尝试这个:

print(output$loadings, cutoff = 0.3)

有关详细信息,请参见?print.loadings

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM