I made 4 barplots in ggplot: o, p, q, r. I put them together in a single plot using the ggpubr package and the following code:
library(ggpubr) figure = ggarr