title: box plot with confidence interval and identify particular datapoints in r
body: <p>Here is my example data: </p>
  
  <pre><code>set.seed(1234)
  myd &lt;- data.frame (SN = 1:100, myv = round (rnorm(100, 5, 5), 2))
  boxplot(myd$myv, col = "lightgreen")
  </code></pre>
  
  <p>I want to highlight the portion of the boxplot that falls within the confidence interval between 4.5 to 8.2. Also I want to display how datapoints that do not fall in the confidence interval (> 8.2 and less than 4.5). The output would like this: </p>
  
  <p><img src="https://i.stack.imgur.com/cdmr2.jpg" alt="enter image description here"> </p>
  
  <p>I just need to achieve this goal. ggplot2 or other package solution are welcome. </p>