plotCorMat: Plot correlation matrix

View source: R/plotCorMat.R

plotCorMatR Documentation

Plot correlation matrix

Description

Plot correlation matrix

Usage

plotCorMat(cormat, cexlab = 12, angle.label = 45)

Arguments

cormat

correlation matrix

cexlab

label size

angle.label

cex.label size

Value

plot

Author(s)

JuG

Examples


 #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)

jgodet/utilitR documentation built on May 16, 2024, 12:01 p.m.