1 min read

Force y-axis to start at zero in ggplot

To do so, add the following statement in ggplot expression:

scale_y_continuous(expand=c(0,0))
## <ScaleContinuousPosition>
##  Range:  
##  Limits:    0 --    1