EFA with target rotation

623 views Asked by At

Just trying to run an Exploratory Factor Analysis (EFA) with target rotation but are unable to do so with 100 variables for 15 factors. Our script is:

tcor<-cor(perma[c(1:100)],use = "pairwise",method = c("pearson"))
#we create a correlation matrix
ACCM<-fa(tcor,nfactors=15,n.obs = NA,rotate="none",fm="ml") 
gg<-ACCM$loadings[1:100,1:15]
# We create a factor loading matrix without rotation
taget<-target.rot(gg)

#Use Target rotation  but  get the error below  
Error in solve.default(U) : only square matrices can be inverted

Could anyone advise what does the error mean? We are able to run this with 11 variables for 2 factors from the same data file.

0

There are 0 answers