Thanks very much. However, I got an error message when I tried.
What I did is that I created a correlation matrix named dat which is the
only data I have and tried using the below

> fa<- factanal(covmat = dat, factors=2, rotation="none", scores="none")
Error in factanal(covmat = dat, factors = 2, rotation = "none", scores =
"none") : 
  'covmat' is not a valid covariance list 

Please help.

Best regards
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Factor-analysis-tp3040618p3040813.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to