title: full text label on Boxplot, with added mean point
body: <p>Am trying to get text label similar to what this <a href="https://stats.stackexchange.com/questions/8206/labeling-boxplots-in-r">https://stats.stackexchange.com/questions/8206/labeling-boxplots-in-r</a>, but I cant get it to work. MWE similar to what I have is this:</p>
  
  <pre><code>data &lt;- data.frame(replicate(5,sample(0:100,100,rep=TRUE)))
  
  meanFunction &lt;- function(x){
  return(data.frame(y=round(mean(x),2),label=round(mean(x,na.rm=T),2)))}
  
  ggplot(melt(data), aes(x=variable, y=value)) +
  geom_boxplot(aes(fill=variable), width = 0.7) +
  stat_summary(fun.y = mean, geom="point",colour="darkred", size=4) +
  stat_summary(fun.data = meanFunction, geom="text", size = 4, vjust=1.3) 
  </code></pre>
  
  <p>That produces something like "A" in the attached image, and I am trying to get something like "B" for each of the boxes. Thanks.<img src="https://i.stack.imgur.com/3bPEU.png" alt="enter image description here"></p>