title: How to label a barplot bar with positive and negative bars with ggplot2
body: <p>I'm trying to plot a labeled barplot with ggplot2 with positive and negative bars.<img src="https://i.stack.imgur.com/elQcd.png" alt="">
  That works so far, but I would like to set the label outside of the bar, so that it is above or under the bar. I tried to set an adjustment in <code>vjust = c(x1,...,xn)</code> where <code>x</code> is a positive or negative value according to the value of the bar in <code>geom_text()</code>. This doesn't work. I just got the Error message Error: "When <em>setting</em> aesthetics, they may only take one value. Problems: vjust"</p>
  
  <p>With the normal plot command that works. I want to replicate this command in ggplot2:</p>
  
  <pre><code>xpos &lt;- barplot(d, col=mycols, main='Verteilung in Dresden 2004',
           ylab='Anteil in %', xlab='Milieu', names.arg=l, 
           cex.axis=0.7, cex.names=0.7, ylim=c(0,max(d)+0.05))
  boxed.labels(xpos,d+0.02,sprintf('%d%s', d*100, '%'),
            bg='transparent', border=FALSE, cex=0.7)
  </code></pre>
  
  <p>So that it looks like this just in nice... ;-)
  <img src="https://i.stack.imgur.com/ZRo19.png" alt=""></p>
  
  <p>Does someone have any suggestions?</p>
  
  <p>Thank's for y'all help.</p>