weightTf {tm} | R Documentation |
Weight a term-document matrix by term frequency.
weightTf(m)
m |
A dgCMatrix in term frequency format. |
Formally this function is a WeightingFunction
with the additional
slots Name
and Acronym
.
This function acts as the identity function since the input matrix is already in term frequency format.
The weighted dgCMatrix
.
Ingo Feinerer