GGally allows us to add a label inside the windows.
ggcorr(data,
nbreaks = 6,
label = TRUE,
label_size = 3,
color = "grey50")
Code Explanation
- label = TRUE: Add the values of the coefficients of correlation inside the heat map.
- color = "grey50": Choose the color, i.e. grey
- label_size = 3: Set the size of the label equals to 3