Plot Emotions
plot_emotions_bar.RdCreates a bar chart of the 8 NRC emotions detected in the lyrics.
Arguments
- lyrics_obj
Lyrics object from
get_lyrics()- normalize
Logical; normalize counts by total words? Default
TRUE
Examples
if (FALSE) { # \dontrun{
lyrics <- get_lyrics("Billie Eilish", "bad guy")
plot_emotions_bar(lyrics)
} # }