title: How to calculate confidence intervals for a vector?
body: <p>I have a vector:</p>
  
  <pre><code>vector &lt;- c(12, 17, 24, 35, 23, 34, 56)
  </code></pre>
  
  <p>How to calculate confidence intervals (90%, 99%, 95%) for this vector in R?</p>
  
  <p>This is example of result I want:
  <a href="https://i.stack.imgur.com/wau32.jpg" rel="nofollow noreferrer">enter image description here</a></p>