Re: [R] Factor Analysis/Inputting Correlation Matrix

2011-11-20 Thread biorafas
ey man!! you need to change the format of your data as matrix data <- as.matrix(correlation_data) solucion <- factanal(covmat = data, factors=2) that´s all!!! enjoy Rafael Ch. -- View this message in context: http://r.789695.n4.nabble.com/Factor-Analysis-Inputting-Correlation-Matrix-tp359

Re: [R] Factor Analysis/Inputting Correlation Matrix

2011-06-11 Thread Joshua Wiley
Hi Matt, Did you try reading the documentation for factanal()? You can pull it up by typing: help("factanal") These give basically identical results using the raw data, the covariance matrix, and the correlation matrix. factanal(x = mtcars, factors = 3) factanal(factors = 3, covmat = cov(mtcars

[R] Factor Analysis/Inputting Correlation Matrix

2011-06-11 Thread Matt Stati
Can someone please direct me to how to run a factor analysis in R by first inputting a correlation matrix? Does the function "factanal" allow one to read a correlation matrix instead of data vectors? Thanks, Matt. [[alternative HTML version deleted]]