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.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to