powered by
Computes the document frequency (DF) for each term in a term-document matrix. DF is the number of documents in which each term appears at least once.
calc_df(tdm)
A numeric vector of document frequencies for each term
A term-document matrix