weigh: Apply Weight to Matrix
Description
Apply Weight to Matrix
Usage
weigh(.Object, ...)# S4 method for TermDocumentMatrix
weigh(.Object, method = "tfidf")
# S4 method for DocumentTermMatrix
weigh(.Object, method = "tfidf")
Arguments
method
the kind of weight to apply