0 votes
in R Language by
Function ggcorr in R Language

1 Answer

0 votes
by

The function ggcorr

ggcorr(df, method = c("pairwise", "pearson"),
  nbreaks = NULL, digits = 2, low = "#3B9AB2",
  mid = "#EEEEEE", high = "#F21A00",
  geom = "tile", label = FALSE,
  label_alpha = FALSE)

Arguments:                                       

  • df: Dataset used
  • method: Formula to compute the correlation. By default, pairwise and Pearson are computed
  • nbreaks: Return a categorical range for the coloration of the coefficients. By default, no break and the color gradient is continuous
  • digits: Round the correlation coefficient. By default, set to 2
  • low: Control the lower level of the coloration
  • mid: Control the middle level of the coloration
  • high: Control the high level of the coloration
  • geom: Control the shape of the geometric argument. By default, "tile"
  • label: Boolean value. Display or not the label. By default, set to `FALSE`

Related questions

0 votes
asked Feb 27, 2020 in R Language by rahuljain1
0 votes
asked Feb 25, 2020 in R Language by rahuljain1
...