termFrequencies(dtm, terms, variable = NULL, n = 25, by.term = FALSE)
dtm
.dtm
, or NULL
to report most
frequent terms by document; use NA
to report most frequent terms in the whole corpus.variable = NA
, one matrix with columns Global %
(see below).
Else, an array with seven columns:specificTerms
, DocumentTermMatrix