Re: [R] How to set the limit of abline (regression line of lm)

2010-09-20 Thread Greg Snow
rom: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of elaine kuo > Sent: Monday, September 20, 2010 3:32 AM > To: r-help@r-project.org > Subject: [R] How to set the limit of abline (regression line of lm) > > Dear List, > > > > I

Re: [R] How to set the limit of abline (regression line of lm)

2010-09-20 Thread Jim Lemon
On 09/20/2010 07:31 PM, elaine kuo wrote: Dear List, I ran a regression model using lm and produced a regression line using abline. The line ranges from -20 to 20 in x axis, and the section I only want is from -20 to 0. Please kindly advise any function in abline () to set the range of x

Re: [R] How to set the limit of abline (regression line of lm)

2010-09-20 Thread Gavin Simpson
On Mon, 2010-09-20 at 17:31 +0800, elaine kuo wrote: > Dear List, > > > > I ran a regression model using lm and produced a regression line using > abline. > > > The line ranges from -20 to 20 in x axis, > > and the section I only want is from -20 to 0. > > > > Please kindly advise any func

[R] How to set the limit of abline (regression line of lm)

2010-09-20 Thread elaine kuo
Dear List, I ran a regression model using lm and produced a regression line using abline. The line ranges from -20 to 20 in x axis, and the section I only want is from -20 to 0. Please kindly advise any function in abline () to set the range of x axes. Thank you Elaine [[alter