draw.cov.matrix | R Documentation |
Plot covariance heatmap from matrix
draw.cov.matrix(my.matrix, fun = stats::cov, ...)
my.matrix |
matrix to calculate the covariance |
fun |
function to use |
... |
arguments to pass to fun function |
a ggplot2
draw.cov.matrix(matrix(rnorm(100), ncol = 10)) draw.cov.matrix(gen.synth.xdata(10, 10, .2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.