[R] Flipping a heatmap
dave at evocapital.com
Thu Sep 11 10:04:19 CEST 2003
I am using the heatmap function in package mva to look at large
correlation matrices visually.
Is there any way to "flip" the output of heatmap plot left-right so
that, if presented with a correlation matrix, it plots the unity
elements in the correlation matrix along a diagonal from top left to
x = matrix(rnorm(1000), ncol=10)
z = cor(x)
Heatmap calls image, and I've found ways to do it with image e.g:
will plot things the "right" way round, but
Any help much appreciated.
More information about the R-help