#fa <- factanal(x,4,covmat=Harman74.cor$cov)
#pc <- principal(Harman74.cor$cov,4)
#pa <- factor.pa(Harman74.cov$cor,4)
#factor.congruence(fa,pc)
#
# Factor1 Factor2 Factor3 Factor4
#PC1 1.00 0.60 0.45 0.55
#PC2 0.44 0.49 1.00 0.56
#PC3 0.54 0.99 0.44 0.55
#PC4 0.47 0.52 0.48 0.99
# pa <- factor.pa(Harman74.cor$cov,4)
# factor.congruence(fa,pa)
# PA1 PA3 PA2 PA4
#Factor1 1.00 0.61 0.46 0.55
#Factor2 0.61 1.00 0.50 0.60
#Factor3 0.46 0.50 1.00 0.57
#Factor4 0.56 0.62 0.58 1.00
#compare with
#round(cor(fa$loading,pc$loading),2)
Run the code above in your browser using DataLab