Description Usage Arguments Value
Compute basic metrics for a bag of words.
1 | bow_metrics(x, source = "source", term = "term", count = "count")
|
x |
tibble. Bag of words |
source |
character string. Name of the variable indicating the document id. |
term |
character string. Name of the variable indicating the term. |
count |
character string. Name of the variable indicating the frequence. |
A tibble 9 variables: source, term, count, src_word_count (number of words in the source), term_count (frequency of the term), term_source_count (number of sources in which the term appears), tf, idf, tf_idf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.