I'm using pairs()
to create a correlations plot and am trying to show labels on the side and bottom instead of the diagonal panel but can't seem to find a way to do it
library(colorspace)
x <- matrix(rnorm(120 * 5), ncol = 5)
col <- (rainbow_hcl(2))[c(rep(1, 60), rep(2, 60))]
pairs(x, col = col, lower.panel = NULL, cex.labels = 2, pch = 19, cex = 0.8, cex.axis = 2)