title: r binomial distribution barplot
body: <p>I want to create a Graph like this:</p>
  
  <p><a href="https://i.stack.imgur.com/8PoX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8PoX1.png" alt="enter image description here"></a></p>
  
  <p>I understand that the basic structure would be </p>
  
  <pre><code>barplot(dbinom(x=0:n,size=n, prob=P))
  </code></pre>
  
  <p>but how do I add color to specific bars and how can I add the numbers on the bottom?</p>