Categories

Nov 14, 2019 in R Language
Q: Add label to the heat map in R Language

1 Answer

Nov 14, 2019

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

Madanswer
Jul 28, 2019 in R Language
Nov 4, 2019 in R Language
Jul 28, 2019 in R Language
...