Displaying 1 result from an estimated 1 matches for "f1tab".
Did you mean:
f1tau
2005 Nov 08
0
sorting during xtabs? sorting by "individual" order?
...irectory 2 contains also 2 files (F3 & F4):
F3 = c("word1", "word2", "bla")
F4 = c("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&quo...