我有以下代码:
> require(psych)
> require(MASS)
> pa <- fa(Harman74.cor$cov,4,fm="pa" ,rotate="none")
> ld <- loadings(pa)
> str(ld)
loadings [1:24, 1:4] 0.598 0.372 0.42 0.484 0.688 ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:24] "VisualPerception" "Cubes" "PaperFormBoard" "Flags" ...
..$ : chr [1:4] "PA1" "PA2" "PA3" "PA4"
如何直接访问loadings
4 个向量或 4x24 数组?