Description Usage Arguments Value Examples
Construct a weighting function for term-document matrices.
1 | WeightFunction(x, name, acronym)
|
x |
A function which takes a |
name |
A character naming the weighting function. |
acronym |
A character giving an acronym for the name of the weighting function. |
An object of class WeightFunction
which extends the class
function
representing a weighting function.
1 2 | weightCutBin <- WeightFunction(function(m, cutoff) m > cutoff,
"binary with cutoff", "bincut")
|
Loading required package: NLP
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.