I am sure I am doing something stupid but I can't see what. I am plotting data and want the x axis labels to reflect the theoretical range of the x variable which happens to be 1:6 but the observed values have range 2.6 to 5.9.
I thought xlim(c(1,6)) should have got me that quite simply but it doesn't. I think this is a reproducible example of my failures (!)
x <- seq(2,5.8,.2)
list(x = x,
y = rnorm(length(x))) %>%
as_tibble() -> tibDat