tm (version 0.6-2)

weightBin: Weight Binary

Description

Binary weight a term-document matrix.

Usage

weightBin(m)

Arguments

m
A TermDocumentMatrix in term frequency format.

Value

The weighted matrix.

Details

Formally this function is of class WeightingFunction with the additional attributes Name and Acronym.