How to set axis range R
Without data, I tried to reproduce your plot error: Which gives the following plot: Changing your plot to: Might solve your problem. Edit It seems that the formula changes to factors and orders it from 1 to the number of items, so I’ll use your trick on the y axis to solve this.