如何在R中设置显示因子载荷的水平以上的factanal()?

时间:2014-05-02 06:59:08

标签: r analysis r-factor

我正在使用数据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?

1 个答案:

答案 0 :(得分:1)

试试这个:

print(output$loadings, cutoff = 0.3)

请参阅?print.loadings了解详情。