-
You can use ggplot to plot the heatmap of the correlation coefficient matrix:
> library(reshape2)
> qplot(x=Var1, y=Var2, data=melt(cor(mtcars[1:3])), fill=value,
geom="tile")
The correlation coefficient matrix heatmap
You can use ggplot to plot the heatmap of the correlation coefficient matrix:
> library(reshape2)
> qplot(x=Var1, y=Var2, data=melt(cor(mtcars[1:3])), fill=value,
geom="tile")