Skip to content
Prev 205162 / 398506 Next

scatterplot matrix question

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