title: Removing only a single tick mark from discrete x axis ggplot
body: <p>I am trying to make a bar plot that shows predation rates across 3 different years (2018, 2020, 2021). Unfortunately, I don't have the 2019 data. When I try to make the bar plot, it's just showing 2019 as an empty space in the figure, which I'd like to get rid of.</p>
  <p>What I've tried so far:</p>
  <pre><code>scale_x_discrete(name = 'Year', labels = c('2018', '', '2020', '2021'))
  </code></pre>
  <p>I've also tried playing around with <code>limits = c('2018' = '2018', '2020' = '2020', '2021' = '2021'</code> but to no avail.</p>
  <p>Here is my code at the moment without those modifications:</p>
  <pre><code>ggplot(data = predation, aes(x = Year, y = X.predated, fill = Type.of.Habitat)) +
    geom_bar(stat = 'identity', position = position_dodge())
  </code></pre>
  <p>I have attached by full code and an image.<a href="https://i.stack.imgur.com/IaLNZ.png" rel="nofollow noreferrer">barplot</a></p>