| correlationPlot | R Documentation |
This function plots a correlation matrix.
correlationPlot(mat, title = NULL, legendTitle = "Correlation", ...)
mat |
A numeric matrix or data frame. |
title |
Plot title. |
legendTitle |
Legend title. |
... |
Additional parameters passed to tilePlot. |
A thin wrapper around tilePlot.
An object of class gg.
mat <- matrix(runif(100, -1, 1), nrow=10)
colnames(mat) <- paste0('I', seq(10))
mat <- round(cor(mat), 2)
correlationPlot(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.