scatterplot matrix question
On Sat, 2 Jan 2010, William Simpson wrote:
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!
1) You need to "provide commented, minimal, self-contained, reproducible
code."
2) You need to fill in some missing info: Either you have only one
response for each angle, or you need a third variable to pair up the
corresponding responses for one angle with those of another.
Chuck
Bill
______________________________________________ R-help at 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.
NOTE:.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901