0 votes
in R Language by
Add label to the heat map in R Language

1 Answer

0 votes
by

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

Related questions

+3 votes
asked Jul 28, 2019 in R Language by Aarav2017
+3 votes
asked Jul 28, 2019 in R Language by Aarav2017
...