Binary weight a term-document matrix.
weightBin(m)
m
A TermDocumentMatrix in term frequency format.
TermDocumentMatrix
Formally this function is of class WeightingFunction with the additional attributes Name and Acronym.
WeightingFunction
Name
Acronym
The weighted matrix.