fa.parallel function not found

I am trying to run parallel analysis in factor analysis using the below equation.

parallel<-fa.parallel(e, fm='minres', fa='fa')

its showing me the following error-
Error in fa.parallel(e, fm = "minres", fa = "fa") :
could not find function "fa.parallel"

Have you load the :package: from where the function is from ?

Yes the package is -psych and i have already downloaded it

You need a library(psych) to load it before using it after you installed it with ˋinstall.packages`

parallel <- fa.parallel(e, fm = 'minres', fa = 'fa')
Error in eigen(rx) : infinite or missing values in 'x'
In addition: Warning message:
In cor(x, use = use) : the standard deviation is zero

Now showing this error

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.