I have some data, and I want to plot confidence interval using ggplot
's stat_summary
.
My code looks like this:
file <- read.csv(filepath)
ggplot(file, aes(shop, income, colour = season)) + stat_summary(size = 0.8)
But I want to get something like this:
So my questions are:
- How can I change names of "shop" columns?
- How can I change length of summary lines?
- How can I set distance between two datalines in one column?