weigh-method: weigh a matrix

Description Usage Arguments

Description

weigh a matrix

Usage

1
2
3
4
5
6
7
weigh(.Object, ...)

## S4 method for signature 'TermDocumentMatrix'
weigh(.Object, method = "tfidf")

## S4 method for signature 'DocumentTermMatrix'
weigh(.Object, method = "tfidf")

Arguments

.Object

the matrix to be weighed

...

further parameters

method

the kind of weight to apply


nrauscher/corpus documentation built on May 23, 2019, 9:34 p.m.