March 2018
Beginner to intermediate
570 pages
13h 42m
English
Finally, there is an excellent way to visualize correlation matrices like the one we saw with the iris dataset in the section, Comparing multiple correlations. To do this, we have to install and load the corrgram package as follows:
install.packages("corrgram")
library(corrgram)
corrgram(iris, lower.panel=panel.conf, upper.panel=panel.pts)
After installing the corrgram :

With corrgrams, we can exploit the fact that correlation matrices are symmetrical by packing in more information. On the lower left panel, we have the Pearson correlation ...