Description Usage Arguments Value Examples
Creates a wordcloud of most occurring words in a string or list of strings
1 2 3 4 5 6 | plot_cloud(
song,
max_font_size = 1,
max_words = 100,
background_color = "black"
)
|
song |
A data frame including song_title and artist in each column |
max_font_size |
maximum font size - numeric |
max_words |
maximum number of words to be included in wordcloud |
background_color |
background color |
A wordcloud image
1 2 3 4 5 | ## Not run:
song <- data.frame(song_title = c("22", "Bohemian Rhapsody"), artist = c("Taylor Swift", "Queen"))
plot_cloud(song, max_font_size=1.6, max_words=100, background_color="white")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.