Re: [R] DRAW TWO REGRESSION CURVES IN ONE GRAPH

2010-02-01 Thread Greg Snow
--- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Gabor Grothendieck > Sent: Saturday, January 30, 2010 4:18 PM > To: ATANU > Cc: r-help@r-project.org > Subject: Re: [R] DRAW TWO REGRESSION CURVES IN ONE GRAPH > > On Sat, Jan 30, 20

Re: [R] DRAW TWO REGRESSION CURVES IN ONE GRAPH

2010-01-30 Thread Gabor Grothendieck
On Sat, Jan 30, 2010 at 12:39 PM, ATANU wrote: > how can i draw two regression curves in one graph??i can draw them seperately > using scatter.smooth.but can"t adjust them in one single graph Using the built in iris data frame: library(lattice) xyplot(Sepal.Length ~ Sepal.Width, iris, group = ir

[R] DRAW TWO REGRESSION CURVES IN ONE GRAPH

2010-01-30 Thread ATANU
how can i draw two regression curves in one graph??i can draw them seperately using scatter.smooth.but can"t adjust them in one single graph -- View this message in context: http://n4.nabble.com/DRAW-TWO-REGRESSION-CURVES-IN-ONE-GRAPH-tp1457544p1457544.html Sent from the R help mailing list arch