I'm trying to make a bar graph (with geom_bar) of ratios, and would like to set the x-axis at y=1. Therefore, ratios <1 would be below the axis and ratios >1 would be above the axis. I can do something similar with geom_point:
ggplot(data, aes(x=ratio, y=reorder(place,ratio)))+geom_point()+geom_vline(xintercept=1.0)+coord_flip()
However geom_bar would be much preferred... Ideally the graph would look something like this: https://i.sstatic.net/isdnw.png, except the "negative" bars would be ratios <1.
Thanks so much for your help!
C