View source: R/Visualizations_general.R
plot_wordcloud | R Documentation |
Plot a word cloud from a named vector of word counts
plot_wordcloud(
word_count,
max.words = 100,
colors = brewer.pal(8, "Dark2"),
min.freq = 1
)
word_count |
A named vector where the names are words and the values are counts |
max.words |
The maximum number of words to display in the word cloud (default: 100) |
colors |
The color palette to use for the word cloud (default: brewer.pal(8, "Dark2")) |
min.freq |
The minimum frequency of a word to be included in the word cloud (default: 1) |
A plot of the word cloud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.