Description Usage Arguments Value Examples
View source: R/text_tf_idf_out.R
Calculate TF-IDF scores
1 | text_tf_idf_out(unnest_data, grouping_var)
|
grouping_var |
column that groups each row. May be with (string) or without (tidy evaluation) quotation marks |
data |
pre-cleaned response data |
dataframe with a row for each group-word combination, and the tf-idf score
1 2 | tidytext::unnest_tokens(dummy_response, 'word', colnames(dummy_response)[7]) %>%
text_tf_idf_out(., colnames(dummy_response)[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.