title: add confidence interval values to GGally:ggpairs plot
body: <p>Is it possible to add confidence interval values to <code>GGally:ggpairs</code> plot? Thought that it would be possible via <code>GGally::ggpairs(data, upper = list(continuous = ggcorr))</code> with an adjusted version of <code>ggcorr()</code>, but I have been unable to understand the internal code. Ideally, a <code>GGally::ggpairs</code> version of [this][1] plot would be ideal.</p>
  <p>[Plot from http://handlesman.blogspot.com/2011/03/matrix-plot-with-confidence-intervals.html][2]</p>
  <p>EDIT:</p>
  <p>This is my closest attempt, but can't work out adjusting the placement of the annotation for each cell in the matrix.</p>
  <pre><code>my_high &lt;- function(data, mapping, ...){
    
    p &lt;- ggally_cor(data, mapping = mapping)+annotate(&quot;text&quot;,x=0,y=0,label=paste0(&quot;[&quot;,round(cor.test(data[,1],data[,2],method = &quot;pearson&quot;,conf.int=0.95)$conf.int[1],3),&quot;,&quot;,round(cor.test(data[,1],data[,2],method = &quot;pearson&quot;,conf.int=0.95)$conf.int[2],3),&quot;]&quot;))
    return(p)
  }
  
  GGally::ggpairs(data, upper = list(continuous = my_high))```
  
  
    [1]: https://i.stack.imgur.com/XWNyb.png
    [2]: https://i.stack.imgur.com/7j2Qb.png
  </code></pre>