| TermDocMatrix-class {tm} | R Documentation |
A class representing a sparse term-document matrix. A column represents a term, and a row the ID of a text document, respectively.
Objects can be created by calls of the form
new("TermDocMatrix",...) or by calling the function
TermDocMatrix.
Data:Matrix holding the sparse
matrix.Weighting:character containing
the mode which was applied on the matrix. Possible are term
frequency "tf", term frequency-inverse document frequency
"tf-idf", binary "bin" and logical "logical".signature(object = "TermDocMatrix"): return the
sparse matrixsignature(object = "TermDocMatrix"): sets the
sparse matrixsignature(object = "TermDocMatrix"): returns the
weighting modesignature(object = "TermDocMatrix"): sets the
weighting modeIngo Feinerer