title: Draw vertical ending of error bar line in dotplot
body: <p>I am drawing <code>dotplot()</code> using <code>lattice</code> or <code>Dotplot()</code> using <code>Hmisc</code>. When I use default parameters, I can plot error bars without small vertical endings </p>
  
  <blockquote>
    <p><strong>--o--</strong></p>
  </blockquote>
  
  <p>but I would like to get </p>
  
  <blockquote>
    <p><strong>|--o--|</strong></p>
  </blockquote>
  
  <p>I know I can get  </p>
  
  <blockquote>
    <p><strong>|--o--|</strong></p>
  </blockquote>
  
  <p>when I use <a href="http://svitsrv25.epfl.ch/R-doc/library/plotrix/html/centipede.plot.html" rel="nofollow noreferrer">centipede.plot()</a> from <code>plotrix</code> or <a href="http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=latticeExtra:segplot" rel="nofollow noreferrer">segplot()</a> from <code>latticeExtra</code>, but those solutions don't give me such nice conditioning options as <code>Dotplot()</code>. I was trying to play with <code>par.settings</code> of <code>plot.line</code>, which works well for changing error bar line color, width, etc., but so far I've been unsuccessful in adding the vertical endings:</p>
  
  <pre><code>require(Hmisc)
  mean = c(1:5)
  lo = mean-0.2
  up = mean+0.2
  d = data.frame (name = c("a","b","c","d","e"), mean, lo, up)
  Dotplot(name ~ Cbind(mean,lo,up),data=d,ylab="",xlab="",col=1,cex=1,
          par.settings = list(plot.line=list(col=1),
                         layout.heights=list(bottom.padding=20,top.padding=20)))
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/8exhO.png" alt="enter image description here"></p>
  
  <p>Please, don't give me solutions that use ggplot2...</p>