ggplot::geom_boxplot() How to change the width of one box group in R
问题 I want to adapt the width of the box in the category "random" to the same width of the other boxes in the plot. It is now a single group, whereas the other groups contain two subgroups... Any ideas on how to do that? Using geom_boxplot(width=0.2) just changes the width of all boxes. So far I used the following code: ggplot(TablePerCatchmentAndYear,aes(x=NoiseType, y= POA, fill = TempRes)) + geom_boxplot(lwd=0.05) + ylim(c(-1.25, 1)) + theme(legend.position='bottom') + ggtitle('title')+ scale