Sequence x-Axis labels when when 'breaks' has already been defined (R, ggplot)
问题 I used scale() function on my data to avoid high correlation when doing a mixed model. Now I want the original values to appear in my plot. So I reversed the scaling with x * attr(x, 'scaled:scale') + attr(x, 'scaled:center') and put the values in a new column of the dataframe that I use to plot. So as an example my data now looks something like this, where x is the real value and x.s the scaled value: x <- sample(x=1:100, size = 50) y <- sample(x=1:100, size = 50) df <- as.data.frame(cbind(x