in R Language by
Q:
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
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

+2 votes
asked Jul 28, 2019 in R Language by Aarav2017
0 votes
asked Nov 4, 2019 in R Language by MBarbieri
...