Creates a wordcloud of most occurring words in a string or list of strings

plot_cloud(
  song,
  max_font_size = 1,
  max_words = 100,
  background_color = "black"
)

Arguments

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

Value

A wordcloud image

Examples

if (FALSE) {
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")
}