Description Usage Arguments Value Examples
Simple calculation of document weights based on the average number of words in a document within the corpus (mean value = 1).
1 | document_weights(document_term_table)
|
document_term_table |
Table of observation count data (rows:
documents, columns: terms. May be a class |
Vector of weights, one for each document, with the average sample receiving a weight of 1.0.
1 2 | data(rodents)
document_weights(rodents$document_term_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.