6 Barplots

Using the ggplot2::geom_bar() function

Reminder: Steps before the ggplot() are combined with pipes %>%, whereas layers of the plot are combined with the addition symbol +.

6.1 Single categorical variable