Hi everyone,

I am new to R and have some questions regarding the corrplot package. I am trying to create a visualization for a correlation matrix (50x50) with each block of 10 variables belonging to a certain group, resulting 5 main groups. I have attached an example of the matrix as it currently is.

As the axis labels are a bit difficult to read, I would like to add additional x- and y-axis labels grouping each block of variables to their respective group. For example, variables 1-10 belong to group A. I would therefore like A to be presented on the left side of the x-axis and the top of the y-axis so that the figure is more cohesive. I would like to do this for all 5 groups. Below is an example of the code I have used:

Corr <- read.csv(file.choose("Corr.csv"))

Corrmatrix <- as.matrix(Corr, row.names = 1)

library(corrplot)

corrplot(Corrmatrix, is.corr = FALSE, tl.cex = 0.5, method = "color", tl.col="black")

I have not yet found way to add extra labels grouping the variables and any help would be greatly appreciated!