The most basic plot of the package is a heat map. The legend of the graph shows a gradient color from - 1 to 1, with hot color indicating strong positive correlation and cold color, a negative correlation.
library(GGally)
ggcorr(data)
Code Explanation
- ggcorr(data): Only one argument is needed, which is the data frame name. Factor level variables are not included in the plot.