• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
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

Related questions

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