View source: R/create_wordcloud.R
create_wordcloud | R Documentation |
Create a wordcloud PNG from word frequencies
create_wordcloud( frequencies, file_name, colors = c("#292f69", "#1396d3", "#7ac143"), shape = "circle", width = 1992, height = 1744 )
frequencies |
Word frequencies from get_word_counts() |
file_name |
Output file name |
colors |
Defaults to DP colors |
shape |
Default to circle |
width |
Width of PNG in pixels |
height |
Height of PNG in pixels |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.