[R] re flecting a line
Nordlund, Dan (DSHS/RDA)
NordlDJ at dshs.wa.gov
Thu Sep 11 02:10:54 CEST 2008
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Gabor Grothendieck
> Sent: Wednesday, September 10, 2008 3:45 PM
> To: David Epstein
> Cc: r-help at 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
More information about the R-help
mailing list