weightTf
From tm v0.6-2
by Ingo Feinerer
Weight by Term Frequency
Weight a term-document matrix by term frequency.
Usage
weightTf(m)
Arguments
- m
- A
TermDocumentMatrix
in term frequency format.
Details
Formally this function is of class WeightingFunction
with the
additional attributes Name
and Acronym
.
This function acts as the identity function since the input matrix is already in term frequency format.
Value
-
The weighted matrix.
Community examples
Looks like there are no examples yet.