I have a very simple question causing me to bang my head on the wall.
I would like to scale the y-axis of my histogram to reflect the proportion (0 to 1) that each b
Note that ..ncount.. rescales to a maximum of 1.0, while ..count.. is the non scaled bin count.
..ncount..
..count..
ggplot(mydataframe, aes(x=value)) + geom_histogram(aes(y=..count../sum(..count..)))
Which gives: