Consider this simple example
tibble(x = c('2001-01', '2001-02', '2001-03', '2001-04'), y = c(10,20,10,3)) %>% ggplot(aes(x = x, y = y)) + geom_col()
My issue is that I would like to skip every other label for the x-axis.
For instance, only showing
2001-01 but a blank for
2001-02, then showing
2001-03 and then a blank for
2001-04. Nevertheless, I would still like to see a tick for all of them.
How can I do that automatically with
ggplot and likely