tfidf4dtm | R Documentation |
Tf-IDf for DTM
tfidf4dtm(dtm, normalize = TRUE, fun = log2, adjust = TRUE, force = FALSE)
dtm |
an object of class |
normalize |
(lgl) if |
fun |
The weighting function for the ratio of document-frequencies. |
adjust |
If |
force |
(lgl) if |
an object of class DocumentTermMatrix
and
simple_triplet_matrix
(in the order).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.