'R: what are the bands of the bins in when using a geom_histogram in package ggplot2?

I have created a histogram plot using the following code:

  p<-ggplot(df, aes(x=value)) +
    geom_histogram(color="black", fill="white", binwidth=5)
  
  p

enter image description here

My data ranges between 0 and 17. What are the bands of the bins e.g. is the 0 section 0-4? Is there a way of altering where the bands begin?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source