text_summary_cloud_by_category: Create wordcloud for a given text verbatim collection,...

Description Usage Arguments See Also Examples

Description

A convenient wrapper function around wordcloud method within wordcloud package. Breaks verbatim into word counts and plots according to user specification

Usage

1
2
text_summary_cloud_by_category(df, text_col, categories_col,
  max_words_to_plot = 100, min_freq = 50)

Arguments

df

a dataframe/tribble.

text_col

text column within df

categories_col

text column within df

max_words_to_plot

Maximum number of words to be plotted. least frequent terms dropped

min_freq

words with frequency below min_freq in the respective category_col level will not be plotted

See Also

wordcloud #' @seealso text_summary_cloud

Examples

1
2
3
4
5
## Not run: 
data("text_data")
text_summary_cloud_by_category(verbatim,text,NPS_RATING)

## End(Not run)

fahadshery/textsummary documentation built on May 6, 2019, 7:02 p.m.