[R] adding text in (pair) panels (splom)

2004-04-09 Thread Patrick Giraudoux
Hi, I would like to add text in each panel got from the following: splom(~Cs5bis, panel=function(x,y,...){ panel.xyplot(x,y,...) panel.abline(lm(y~x),...) }) This could be a correlation coefficient or the statistical significance of the correlation or both, or a star if p 0.05, etc... The

Re: [R] adding text in (pair) panels (splom)

2004-04-09 Thread Paul Murrell
Hi Patrick Giraudoux wrote: Hi, I would like to add text in each panel got from the following: splom(~Cs5bis, panel=function(x,y,...){ panel.xyplot(x,y,...) panel.abline(lm(y~x),...) }) This could be a correlation coefficient or the statistical significance of the correlation or both, or a

Re: [R] adding text in (pair) panels (splom)

2004-04-09 Thread Patrick Giraudoux
PROTECTED] Sent: Saturday, April 10, 2004 4:39 AM Subject: Re: [R] adding text in (pair) panels (splom) Hi Patrick Giraudoux wrote: Hi, I would like to add text in each panel got from the following: splom(~Cs5bis, panel=function(x,y,...){ panel.xyplot(x,y,...) panel.abline(lm(y~x