[R] scatterplot matrix question

William Simpson william.a.simpson at gmail.com
Sat Jan 2 15:38:00 CET 2010


I would like a scatterplot matrix and a correlation matrix for the
following set-up.
The data (dataframe d) are like this:

angle  resp
-90      182
-60      137
-30      ...etc
0
30
60
90
...etc

I would like each cell in the matrix to be the scatterplot of the
responses for each pair of angles ( -90 vs -60, -90 vs -30, etc). Same
for the correlation matrix.

Please tell me what to do. Thanks very much!

Bill



More information about the R-help mailing list