The following should work, I have stored your example input as a dataframe called ‘dat’:
library(ggplot2)
library(cowplot)
plt = ggplot(dat, aes(Income_group, percentage)) +
geom_bar(stat="identity") + facet_grid(Airport ~.) + background_grid(major="y", minor = "none") +
panel_border()
plt + theme(axis.text.x = element_text(angle = 90, hjust = 1))
2
solved In ggplot, how can I plot multiple graphs in the same window? [closed]