search for: matrix2fld

Displaying 2 results from an estimated 2 matches for "matrix2fld".

2007 Aug 18
2
Problem with lsa package (data.frame) on Windows XP
...# the following line fails on windows XP matrix2 = textmatrix("C:\\Documents and Settings\\tine stalmans.TINE. 000\\LSA\\respuestas\\", stemming=TRUE, language="spanish", minWordLength=2, minDocFreq=1, stopwords=NULL,vocabulary=rownames (matrix1)) matrix2 = lw_bintf(matrix2) matrix2fld = fold_in(matrix2, space) r <- cor(matrix2fld[,"respId1.txt"], matrix2fld[,"respAl1.txt"], method = "pearson") print(r) An error occurs when creating the second textmatrix with the vocabulary of the first. The error I get is: in data.frame(docs = basename(fil...
2007 Aug 21
2
Partial comparison in string vector
...windows XP > matrix2 = textmatrix("C:\\Documents and Settings\\tine stalmans.TINE. > 000\\LSA\\respuestas\\", stemming=TRUE, language="spanish", > minWordLength=2, minDocFreq=1, stopwords=NULL,vocabulary=rownames > (matrix1)) > matrix2 = lw_bintf(matrix2) > matrix2fld = fold_in(matrix2, space) > r <- cor(matrix2fld[,"respId1.txt"], matrix2fld[,"respAl1.txt"], > method = "pearson") > print(r) > > > An error occurs when creating the second textmatrix with the > vocabulary of the first. The error I get is:...