Re: [R] Add a line in a Pairs2 and mark the axis length

2009-07-29 Thread Greg Snow
I am not sure what you mean by "mark the length on each sub plot y axis", but here is an example of the other parts (and if you know how to mark the length on a single regular plot, then just add that code to the panel function): pairs2( iris[,1], iris[,2:4], panel=function(x,y,...) {

[R] Add a line in a Pairs2 and mark the axis length

2009-07-29 Thread Jose Narillos de Santos
Hi, I have finally installed TeachingDemos trough zip file and installed on lbrary. One new question: I want to draw a line (like abline) on diagonal or the result of running a ols. How can I do it. On the other hand, I want to mark the length on each sub plot y axis. It is possible? My func