Displaying 1 result from an estimated 1 matches for "f4clean".
Did you mean:
f3clean
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
...word3 1 0
word4 1 1
word1 0 1
Now, when I want to re-use this to construct another
document-term matrix from files F3&F4 -- with the same terms
in the exactly same order, firstly, I need to add
F3clean = F3[F3 %in% rownames(dtm)]
F4clean = F4[F4 %in% rownames(dtm)]
to keep "unwanted" terms from getting into the tabs.
And here is my problem:
I need to reformat the output document-term matrix
(as it would be given by another time running step 2
with F3clean and F4clean) to correspond with the given...