I have matrix of 90 by 90 and I am trying to get an array correlation matrix. Using the following command:
pdf('corr.pdf')
data <- read.table("test", header=T)
z <- cor(data)
levelplot(z)
dev.off()
I get an image like this and my tags are getting smudged
Please give your suggestions to improve the image.
Thank you
And THE WINNER IS:
pdf('corr.pdf')
data <- read.table("test", header=T)
z <- cor(data)
heatmap.2(z, Rowv=FALSE, Colv=FALSE, dendrogram="none",
key=TRUE, density.info="none", trace="none",
col=colorpanel(100, lowColor, highColor), scale="none",cexRow=0.3, cexCol=0.3 )
dev.off()