Displaying 1 result from an estimated 1 matches for "f2frame".
Did you mean:
f1frame
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
...e format (file, word, 1)
F1tab = sort(table(F1), decreasing = TRUE)
F2tab = sort(table(F2), decreasing = TRUE)
# and create a dataframe
F1frame = data.frame( docs="F1", terms=names(F1tab),
Freq = F1tab, row.names = NULL)
F2frame = data.frame( docs="F2", terms = names(F2tab),
Freq = F2tab, row.names = NULL)
(2) textmatrix function
... to be bound together for every file and to be
converted with xtabs into a document term matrix:
dummy = list(F1frame, F2frame)...