title: ggplot geom_text not seating on top of bars
body: <p>I have some data where some groups do not appear on all months. I am plotting this on a bar graph but with a text label showing the numerical values but the text are not seating on top of each bar.  I tried using the position "dodge" for the labels but with no success.</p>
  
  <p>Below is a reproducible example:</p>
  
  <pre><code>library(ggplot2)
  library(dplyr)
  library(scales)
  
  data.frame(Month = as.Date(c("2015-01-01", "2015-01-01","2015-01-01",
  "2015-02-01","2015-02-01","2015-02-01")),
         types = rep(LETTERS[1:3],2),
         percent = c(0.2,NA,NA,.39,.89,.59)) %&gt;%
    ggplot( aes(x = Month, y = percent, fill = types)) +  
    geom_bar(stat = "identity", position = "dodge") + 
    scale_y_continuous(labels = percent) +
    scale_x_date(labels = date_format("%Y-%b")) +
    geom_text(stat = 'identity', 
          aes(label = ifelse(percent &gt; .02,
                             paste(round(percent*100,0),"%",sep = "") ,'')))
  </code></pre>
  
  <p>This is what it looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/z1ddC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z1ddC.jpg" alt="enter image description here"></a></p>