Description Usage Arguments Value Examples
Shamelessly taken from example code in http://onertipaday.blogspot.com/2011/07/word-cloud-in-r.html
1 2 | plot_wordcloud(petitions, column,
colors = brewer.pal(8, "Dark2"), scale = c(8, 0.2))
|
petitions |
a data frame of petitions |
column |
which column from the petitions to use for the word cloud (e.g. 'body', 'title') |
colors |
the colors to use for the words |
scale |
the scale to use for the wordcloud plot |
plot of the wordcloud for all petitions
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.