library(ggplot2)
ggplot(antibiotics, aes(x = condition)) +
geom_bar() +
labs(
x = "Conidition", y = "Count",
title = "Pre-existing coniditions of children",
subtitle = "in antibiotic use study"
) +
coord_flip()
Run the code above in your browser using DataLab