hadley/ggplot2 — pull request #633 by cardillo (2012-07-29 16:38:11+00:00)
Title: cumulative version of stat_bin

Hi Hadley,

I found myself needing a cumulative stat_bin function for some graphing work I was doing, similar to the discussion here https://groups.google.com/d/msg/ggplot2/UT8f5K5Agf0/eWZM_GKoGI0J. Anyway, as this is my first foray into the ggplot2 code, it is very possible there is a better way solution. Still, I hacked stat_cbin together and it has worked quite well for my needs so I thought I'd pass it on in case you think it would be useful for inclusion.

--Bryan