powered by
Weight a term-document matrix by term frequency.
weightTf(m)
A TermDocumentMatrix in term frequency format.
TermDocumentMatrix
The weighted matrix.
Formally this function is of class WeightingFunction with the additional attributes name and acronym.
WeightingFunction
name
acronym
This function acts as the identity function since the input matrix is already in term frequency format.