On Sat, Nov 13, 2010 at 2:07 PM, Brima <adamsteve2...@yahoo.com> wrote: > > 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 post the result of str(dat)
Also, does the following work? as.matrix(dat) Liviu > 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. > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail ______________________________________________ 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.