title: Separate sizes for points and lines in geom_pointrange from ggplot
body: <p>Using <code>ggplot</code>'s <code>geom_pointrange()</code> function, how do I change the size of the point and the thickness of the line separately?</p>
  
  <p>Example:</p>
  
  <pre><code># make test data
  df &lt;- data.frame(y=10, ymin=1, ymax=20, x=1)
  
  # store ggplot object
  p &lt;- ggplot(data=df, aes(y=y, ymin=ymin, ymax=ymax, x=x)) 
  
  # plot 1: big dot and thick line
  p + geom_pointrange(fill='blue', color='grey', shape=21, size=5)
  
  # plot 2: small dot and thin line (I want small dot and thick line or vice versa)
  p + geom_pointrange(fill='blue', color='grey', shape=21, lwd=1, size=5)
  </code></pre>
  
  <p>Plot 1:</p>
  
  <p><a href="https://i.stack.imgur.com/JJfWN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JJfWN.png" alt="enter image description here"></a></p>
  
  <p>Plot 2:</p>
  
  <p><a href="https://i.stack.imgur.com/ocYFZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ocYFZ.png" alt="enter image description here"></a></p>
  
  <p>Can I get a small dot with a thick line (or vice-versa)?</p>
  
  <p>A workaround might be to plot the line and point as separate geoms using <code>geom_point</code> and <code>geom_errorbar</code>. Unfortunately, my real application involves jittering, so the point and the interval end up in different places (unless maybe I can control the jittering?).</p>
  
  <p>I can find similar questions on SO (<a href="https://stackoverflow.com/questions/34893760/how-to-scale-the-size-of-line-and-point-separately-in-ggplot2">like this</a>), but they don't directly answer this one.</p>
  
  <p>Thanks!</p>