Learn R Programming

polmineR (version 0.7.9)

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

.Object

the matrix to be weighed

...

further parameters

method

the kind of weight to apply