Re: [R] Trend lines on a scatterplot matrix

2007-07-23 Thread Greg Snow
Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan S Barnett Sent: Thursday, July 19, 2007 3:51 PM To: r-help@stat.math.ethz.ch Subject: [R] Trend lines on a scatterplot matrix I'm using pairs

Re: [R] Trend lines on a scatterplot matrix

2007-07-20 Thread Mark Difford
Hi Alan, There is a good, ready made, way of doing this, with additional options, in Professor Fox's car package. See:--- require(car) ?scatterplot.matrix Cheers, Mark. Alan S Barnett-2 wrote: I'm using pairs() to generate a scatterplot matrix; pairs(~

[R] Trend lines on a scatterplot matrix

2007-07-19 Thread Alan S Barnett
I'm using pairs() to generate a scatterplot matrix; pairs(~ Fuzzy.gray.white.ratio+Fuzzy.gw.t.score+AgeWhenTested+signal_mean.noise, data=datam,subset=status==control,main=Controls, labels=c(G/W,Peak Separation,Age,S/N)) How can I add regression lines to the plots?