[R] system is exactly singular
onyourmark
william108 at gmail.com
Mon Apr 20 15:12:53 CEST 2009
Hi. I have a csv file. I imported it with
mydata<-read.table("C:/dataForR/radiology/WordFrequency.csv", header=TRUE,
sep=",")
> dim(mydata)
[1] 982 925
The first column had the doc numbers like doc1, doc2, etc. so I did
mydataNum<-mydata[,-1]
> dim(mydataNum)
[1] 982 924
The second to last column was also not numeric and so I did
> mydataNum<-mydataNum[,-923]
> dim(mydataNum)
[1] 982 923
when I checked
> str(mydataNum)
I got
'data.frame': 982 obs. of 923 variables:
and then a list of all the variables and it said they were int and num.
I tried
> fit <- factanal(mydataNum, 3, rotation="varimax")
Error in solve.default(cv) :
Lapack routine dgesv: system is exactly singular
Any idea why this is happening?
Thanks.
--
View this message in context: http://www.nabble.com/system-is-exactly-singular-tp23136395p23136395.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list