title: How to label graph with the mean of the values using ggplot2
body: <p>I have created a <code>geom_point</code> graph where the y axis points are the mean of the values respective to each x-axis value. When I try to label the point with the mean, what I get is all the values.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>ggplot(test, aes(x=reorder(Type, Rating, mean), y=Rating, label=Rating)) +
         stat_summary(fun.y="mean", geom="point") +
         geom_text()
  </code></pre>