I have not found a way to display an histogram with increasing binwidth in ggplot. Is there a way?
I found it myself:
breeaks <- c(0,1,2*2^(0:10))
mygg <- ggplot(Grains, aes(Shape_Area)) + theme_bw() + xlab("Size") + geom_histogram(breaks = breeaks, col =3)
mygg
gives:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With