plotCorMat | R Documentation |
Plot correlation matrix
plotCorMat(cormat, cexlab = 12, angle.label = 45)
cormat |
correlation matrix |
cexlab |
label size |
angle.label |
cex.label size |
plot
JuG
#correlation matrix - simulated (or alternative fact)
corMat <- matrix(runif(400,-1,1),ncol=20)
diag(corMat)<-1
colnames(corMat) <- rownames(corMat) <- paste("Vble",1:20,sep='')
#plot CorMat
plotCorMat(corMat)
# Correlation matrix from mtcars
corMat2 <-cor(mtcars)
plotCorMat(corMat2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.