Is it possible to plot several corrplot
graphs in a single graph?
Reproducible example:
library(corrplot)
data(mtcars)
M <- cor(mtcars)
col1 <- colorRampPalette(c("#7F0000","red","#FF7F00","yellow","white", "cyan", "#007FFF", "blue","#00007F"))
corrplot(M, method="color", col=col1(20), cl.length=21,order = "AOE", addCoef.col="grey")
corrplot(M, method="square", col=col1(200),order = "AOE")
corrplot(M, method="ellipse", col=col1(200),order = "AOE")
corrplot(M, method="shade", col=col1(20),order = "AOE")
I am wondering if there is a function similar to "Multiple plot function" suitable for this purpose. I want all these corrplots in the same output.
corrplot
does this; see the documentation for details. – Nook