[R] Selecting a subplot of pairs

Yves Brostaux brostaux.y at fsagx.ac.be
Fri Jan 21 10:13:17 CET 2005


Hello,

I'm trying to plot a set of 3 dependant variables (y) against 4 
predictors (x) in a matrix-like plot, sharing x- an y-axis for all the 
plot on the same column/line :

y1/x1   y1/x2   y1/x3   y1/x4
y2/x1   y2/x2   y2/x3   y2/x4
y3/x1   y3/x2   y3/x3   y3/x4

In fact, this plot is a rectangular selection of the result of pairs(), 
limited to the relations between x's and y's and excluding those within 
x's and y's. I managed to recreate such a plot using a script with 
layout(), axis() and so on, but I was wondering if there already exists 
a clean function for such a task, in case I would encounter this problem 
again ?

-- 
Ir. Yves BROSTAUX
Unité de Statistique et Informatique
Faculté universitaire des Sciences agronomiques de Gembloux (FUSAGx)
8, avenue de la Faculté
B-5030 Gembloux
Belgique
Tél: +32 81 62 24 69
Email: brostaux.y at fsagx.ac.be




More information about the R-help mailing list