How can we replicate Tufte's implicit horizontal lines in R?
For example, the following is a good starting point:
library(ggplot2)
ggplot(msleep, aes(x=order)) + stat_bin() + theme_bw()
Removing the border line should be straightforward. The crucial point, overlaying the horizontal line with the bars, is unclear to me.
I imagine two approaches here:
- Ad-hoc solution for this particular example
- Suggestion how to incorporate it into a theme