Description Usage Arguments Value Examples
Plot correlation matrix
1 2 3 4 5 | visualize.correlation.matrix(
cor.df,
file = "None",
colors = c("#DEB841", "white", "#267278")
)
|
cor.df |
a data.frame representing correlation matrix |
file |
In case of x been a data.frame or matrix, represent the name of output file for saving mutual information plot. |
colors |
gradiente colors |
Plot correlation matrix
1 2 3 4 5 | df <- data.frame("V1" = sample.int(3000,100,replace=FALSE), "V2" =sample.int(3000,100,replace=FALSE) , "V3" = sample.int(3000,100,replace=FALSE), "V4" = sample.int(3000,100,replace=FALSE), "V5" = sample.int(3000,100,replace=FALSE), "V6" = sample.int(3000,100,replace=FALSE), "V7" = sample.int(3000,100,replace=FALSE), "V8" = sample.int(3000,100,replace=FALSE))
pearson.cor <- correlation(x = df, method = "Pearson")
visualize.correlation.matrix(cor.df = pearson.cor)
visualize.correlation.matrix(cor.df = pearson.cor, file = "pearsonCor")
visualize.correlation.matrix(cor.df = pearson.cor, file = "pearsonCor", colors = c("Blue", "White", "Green"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.