Learn R Programming

tm (version 0.5-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 TermDocumentMatrix in term frequency format.

Value

  • The weighted matrix.

Details

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