ggCor | R Documentation |
Display correlation/covariance matrix
ggCor(data, type = "correlation", legend_title = NULL, plot = TRUE, ...)
data |
a matrix containing in each columns the observations for each variable. |
type |
should the raw values, correlation or covariance be displayed? |
legend_title |
argument to be passed to |
plot |
should the graphic be plotted? |
... |
additionnal parameters to be passed to |
n <- 100
X <- cbind(X1=rnorm(n),X2=rnorm(n),X3=rnorm(n))
ggCor(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.