Skip to content
Back to formatted view

Raw Message

Message-ID: <CADVKSzxVUdxSvmhmLcePbdsH2gin2ATzOVDOfMxFzkj8B6eMVg@mail.gmail.com>
Date: 2013-06-10T03:26:44Z
From: Gundala Viswanath
Subject: All against all correlation matrix with GGPLOT Facet

I have the following data:

v <- rnorm(13)
w <- rnorm(13)
x <- rnorm(13)
y <- rnorm(13)
z <- rnorm(13)


Using GGPLOT facet, what I want to do is to create a 5*5 matrix,
where each cells plot the correlation between
each pair of the above data. E.g. v-v,v-w; v-x,...,z-z


What's the way to do it?
Attached is the image.

GV.