Description Usage Arguments Value Examples
View source: R/text_vis_tf_idf.R
Visualise tf-idf output
1 | text_vis_tf_idf(tfidf_data, grouping_var, top_n = 10)
|
tfidf_data |
dataframe as produced by text_tf_idf_out function |
grouping_var |
a column name, with quotes (string) or without (tidyeval) |
top_n |
Top x number of words by tf-idf score |
ggplot2 plot
1 2 3 | text_unnest_remove_stem_words(dummy_response, colnames(dummy_response)[7], "words") %>%
text_tf_idf_out(., colnames(dummy_response)[1]) %>%
text_vis_tf_idf(., colnames(dummy_response)[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.