Harald,
for your specific problem (add main diagonal) for example:

>  abline.points <- function (x,y,...) { points(x, y, ...); abline(0,1) }
>  pairs(USJudgeRatings[1:5], panel = abline.points, cex = 1.5 )
example(pairs)  has nicer examples.

Regards
Michael

Am Tuesday 16 May 2006 10:46 schrieb Harald Stepputtis:
> Hello,
>
> I am new to R and want to use it for some statistical tests. Before the
> tests, I want to visualize my data with pairwise scatterplots using
> "pairs(myData)". To analyse it by eye, I would like to draw the function
> f(x)=y into each of the scatterplot panels. Unfortunately I get lost
> when I try to figure it out by reading "help(pairs)".
>
> Can anyone help me or point me to a nice tutorial about graphics?
>
> Regards,
> Harald

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to