This may sound a like a repeat question, but hopefully it is not. In the basic R graphics histogram function, we have a option breaks="FD", which gives a reasonable sized binsize for the histogram, do we have any similar simple option for ggplot2? Or even better can we use the same option in ggplot2?
I do understand that you can adjust the binwidth in geom_histogram, but i am looking for a more simpler way to generate aesthetically pleasing and resonable binsize.
1 Answer