We prefer bars over pie charts or donuts, end.
Arguments
- data
Data Frame or Tibble object
- sentiment_var
Variable containing 'positive', 'negative', 'neutral' sentiment classification
- bar_labels
Data labels for the bars, percent or volume
- sentiment_colours
Colour mapping for the sentiment categories
Examples
{
DisplayR::disp_example %>% dr_plot_sent(sentiment_var =
sentiment,
bar_labels = "percent")
}