I would like to make a clustered/grouped bar chart with ggplot in R. However, I do not know how to make such a bar chart in the way I prefer. On the x-axis, I want to place 'drugset' and on the y-axis 'percentage'.
Here is an example of the data from which I want to make a clustered bar chart:
Drugset Percentage users Subset 1 58.63% Subset 2 76.25% Subset 3 27.27% Subset 4 30.43%
I would like to make one clustered bar chart where subset 1 and 2 are clustered (standing next to each other) and subset 3 and 4 as well. I am also wondering how to the change the colours.
Thanks for the help!