r annotate values above geometric bars
<p>Consider this sample data.</p>

<pre><code>df &lt;- data.frame(
  x = factor(c(1, 1, 2, 2)),
  y = c(.1, .3, .2, .1),
  grp = c("a", "b", "a", "b")
)
</code></pre>

<p>Now I create the graph using <code>ggplot</code>, and annotate it using <code>geom_text()</code> </p>

<pre><code>ggplot(data = df, aes(x, y, fill = grp, label = y)) +
      geom_bar(stat = "identity", position = "dodge") +
scale_y_continuous(limits=c(0,1)) +
      geom_text(position = position_dodge(0.9))
</code></pre>

<p>How do I specify that all the text values align perfectly horizontal at the top of the graph window?</p>