title: How can I plot data with confidence intervals?
body: <p>If I have 10 values, each of which has a fitted value <code>F</code>, and an upper and lower confidence interval <code>U</code> and <code>L</code>:</p>
  
  <pre><code>set.seed(0815)
  F &lt;- runif(10, 1, 2) 
  L &lt;- runif(10, 0, 1)
  U &lt;- runif(10, 2, 3)
  </code></pre>
  
  <p>How can I show these 10 fitted values and their confidence intervals in the same plot like the one below in R?</p>
  
  <p><img src="https://i.stack.imgur.com/gddUQ.jpg" alt="enter image description here"></p>