Displaying 2 results from an estimated 2 matches for "wordfrequency".
2009 Apr 20
1
factanal error
Hi. I tried running the following code. I don't understand the error.
mydata <- read.table("C:/dataForR/radiology/wordFrequencies.csv",
header=TRUE, sep=",")
> dim(mydata)
[1] 982 924
mydataN<-mydata[,-923]
> dim(mydataN)
[1] 982 923
cor(mydataN)
factanal(mydataN, factors=3)
Error in solve.default(cv) :
Lapack routine dgesv: system is exactly singular
2009 Apr 20
0
system is exactly singular
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]
&...