Learn R Programming

tm (version 0.3-1)

weightTfIdf: Weight By Term Frequency Inverse Document Frequency

Description

Weight a term-document matrix by term frequency - inverse document frequency.

Usage

weightTfIdf(m)

Arguments

m
A dgCMatrix in term frequency format.

Value

  • The weighted dgCMatrix.

Details

Formally this function is a WeightingFunction with the additional slot Name.