[R] computing scores from a factor analysis

wolfgang wolfgangkoerbitz at gmail.com
Wed Jan 18 11:27:59 CET 2012


Haj

i try to perform a principal component analysis by using a tetrachoric
correlation matrix as data input

tetra <- tetrachoric (image_na, correct=TRUE)
t_matrix <- tetra$rho
pca.tetra <- principal(t_matrix, nfactors = 10, n.obs = nrow(image_na),
rotate="varimax", scores=TRUE)

the problem i have is to compute the individual factor scores from the pca.
the code runs perfect if i do not ask for the scores

if i ask for the scores i get an error message
"Error in scale(x.matrix): object 'x.matrix' not found"

can somebody help me?

cheers
wolfgang

--
View this message in context: http://r.789695.n4.nabble.com/computing-scores-from-a-factor-analysis-tp4306234p4306234.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list