> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gabor Grothendieck > Sent: Wednesday, September 10, 2008 3:45 PM > To: David Epstein > Cc: r-help@r-project.org > Subject: Re: [R] re flecting a line > > Try this: > > lines(fitted(lm(x ~ y)), y, lty = 2) > >
That is certainly more clear than what I posted. Nice solution Gabor. Dan Daniel J. Nordlund Washington State Department of Social and Health Services Planning, Performance, and Accountability Research and Data Analysis Division Olympia, WA 98504-5204 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.