I was wondering how does stat_summary_bin function bin when we use bin argument?
bin
ggplot(df, aes(x=x,y=y)) + stat_summary_bin(fun=\