0

Hello I am trying to make a correlogram with points and r^2 values, but I cannot seem to exclude the confidence intervals in the panel.conf command.

corrgram(x, order = FALSE, lower.panel=panel.pts, upper.panel = panel.conf, diag.panel = panel.density)
Hack-R
  • 22,422
  • 14
  • 75
  • 131
  • 1
    When asking for help, you should include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. That will make it easier to help you. – MrFlick Jul 17 '18 at 19:59

1 Answers1

1

On some sample data:

set.seed(111)
df <- data.frame(a = rnorm(100, 5, 1),
                 b = rnorm(100, 2, 1),
                 c = rnorm(100, 3, 1))

corrgram(df, 
         order = FALSE, 
         lower.panel = panel.pts, 
         upper.panel = panel.cor, 
         diag.panel = panel.density,
         col.regions = colorRampPalette(c("black")))

enter image description here

tmfmnk
  • 38,881
  • 4
  • 47
  • 67