Learn R Programming

tm (version 0.3-3)

weightBin: Weight Binary

Description

Binary weight a term-document matrix.

Usage

weightBin(m)

Arguments

m
A dgCMatrix in term frequency format.

Value

  • The weighted dgCMatrix.

Details

Formally this function is a WeightingFunction with the additional slots Name and Acronym.