Displaying 1 result from an estimated 1 matches for "f1frame".
Did you mean:
dframe
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
...uot;word1", "word2", "word3")
# I file in the first directory, file by file,
# create triples of the 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 t...