In this video, we will take a quick look at the 'ggcorrplot' package and see how to use it and visualize a correlation matrix.
mtcars dataset used for demonstration purpose.
Items covered :
- Visualize correlation matrix (square and circle methods)
- hc-order method
- formatting correlation coefficient labels on the plot (changing color and size)
- Adding ggplot themes
- changing legend colors
- Layout types - lower & upper
- Reflecting & dropping insignificant coefficients basis comparision of p-values and significance levels
Link to the github gist :
https://gist.github.com/aagarw30/208ee7ec3bc16e8da1ee8ba73a95839f