On this page, they give the following example
library(ggplot2) library(reshape2) ggplot(data=tips, aes(x=day)) + geom_bar(stat=\"bin\")
Ins
now ..prop.. is available
..prop..
ggplot(data=tips, aes(x=day)) + geom_bar(aes(y = ..prop.., group = 1))