powered by
This function plots a correlation matrix.
correlationPlot( mat, title = "Correlation plot", legendLab = "Correlation", ... )
An object of class gg.
gg
A numeric matrix or data frame.
Plot title.
Legend label.
Additional parameters passed to tilePlot.
A thin wrapper around tilePlot.
tilePlot
mat <- matrix(runif(100, -1, 1), nrow=10) colnames(mat) <- paste0('I', seq(10)) mat <- round(cor(mat), 2) correlationPlot(mat)
Run the code above in your browser using DataLab