df <- data.frame(value = c(1, 2, 1.5), bin = c('B', 'C', 'D'))
p <- ggplot(data = df, aes(x = df$bin, y = df$value, group = 1)) + geom_line() + geom_point()
I want an x tick for 'A' that has no value or line it it. I have other plots that do have a value for 'A' and I want to make all axes consistent.
I was hoping this would work, but it does not:
p + scale_x_discrete(breaks = c('A', 'B', 'C', 'D'))

