Re: [R] scatter plot matrix with different x-y variables

2013-05-13 Thread adel daoud
Greg, the pairs2 function was exactly what I wanted. Thanks for a very useful function. May I ask a follow up question, is it possible to draw a correlation line with R2 values for each graph – on each graph, or on the side of the graph. I am sure this is possible somehow, but I am new to R

Re: [R] scatter plot matrix with different x-y variables

2013-05-11 Thread Greg Snow
The pairs2 function in the TeachingDemos package does what you describe. You give it 2 matricies instead of just one and it creates the plots. On Wed, May 8, 2013 at 10:49 AM, Adel adelda...@gmail.com wrote: Dear list-members, I wonder if there is a way of creating a scatter plot table/grid

[R] scatter plot matrix with different x-y variables

2013-05-08 Thread Adel
Dear list-members, I wonder if there is a way of creating a scatter plot table/grid with different variables on the y-axis compared to the x-axis? Something like this: A*** B*** C*** -XYZ I know that you can create scatter plot matrix with the same variables on the y-axis as on the x-axis,

Re: [R] scatter plot matrix with different x-y variables

2013-05-08 Thread John Kane
to install the ggplot2 and gridExtra packages. See ?install.packages for help John Kane Kingston ON Canada -Original Message- From: adelda...@gmail.com Sent: Wed, 8 May 2013 09:49:25 -0700 (PDT) To: r-help@r-project.org Subject: [R] scatter plot matrix with different x-y variables