On May 11, 6:45 pm, David Winter <
david.win...@gmail.com> wrote:
> Here's something to play with, two layers of geom_bar and one of geom_point.
Thanks David, that's a big help. Here it is, clean up:
fake.data <- data.frame(measure=letters[1:10], value=rpois(10,5),
mean=rpois(10,5), target=rpois(10,5) )
p <- ggplot(fake.data, aes(measure, value) )
p <- p + geom_bar(fill="grey", width=0.5)
p <- p + geom_bar(aes(measure, mean), width=0.2)
p <- p + geom_point(aes(measure, target), colour="red")
p <- p + coord_flip()
p
I'm still working on getting the point to look like a bar, but that is
pretty close.