[R] Factor Analysis in MASS4

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Thu Aug 29 11:55:42 CEST 2002


I had a look at the MASS4 scripts in the MASS package, in Ch 11.3 Factor
Analysis, there is a section of codes like:


  ability.FA <- factanal(covmat = ability.cov, factors = 1)
  (ability.FA <- update(ability.FA, factors = 2))
  round(loadings(ability.FA) %*% t(loadings(ability.FA)) +
             diag(ability.FA$uniq), 3)

Unfortunately I still haven't received the book I ordered, so I can't look
this up.

Two questions:

1) What does the update() do?  I mean, what happens if I replace it with 
     factanal(covmat = ability.cov, factors = 2)

2) What does the last command, the formulae in round() mean?  I tried it
and it produced a matrix that looks kind of like correlation matrix of
some sort... 



Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list