I am trying to change the way the x labels on the x axis are represented in ggplot2 histogram, so that instead of being 0, 10, 20, 30, its shown 0-10, 10-20, 20-30, 30-40 etc.
I know this can be done manually but I was wondering if there was a more simple method.