Ch. 10 | Exercise 2

Chapter 10 | Exercise 2

Make an ordered correlogram with pie charts and shaded blocks of the correlation matrix in Exercise 1. Where do you find Attraction and Reliance?

Create a correlogram:

> library(corrgram) > corrgram(cscores, order = TRUE, lower.panel = panel.shade, upper.panel = panel.pie, cor.method = "spearman")

The resulting plot will show that Attraction and Reliance are located at the opposite ends of the diagonal.