Hi folks
Run;
ToothGrowth
attach(ToothGrowth)
toothgrowth=lm(len~dose)
adding abline:
abline(toothgrowth)
I got it done adding single abline.
How to add more ablines on the same diagram?
I found following thread, applying mapply command;
Plotting multiple ablines
just add more 'abline' calls, or pass multiple values; e.g.,
abline(v=c(1,2,3,4), h=c(10,20))
On Fri, Nov 26, 2010 at 9:41 PM, Stephen Liu sati...@yahoo.com wrote:
Hi folks
Run;
ToothGrowth
attach(ToothGrowth)
toothgrowth=lm(len~dose)
adding abline:
abline(toothgrowth)
I got it done
jholt...@gmail.com
Cc: r-help@r-project.org
Sent: Sat, November 27, 2010 2:07:41 PM
Subject: Re: [R] How to add multiple ablines
just add more 'abline' calls, or pass multiple values; e.g.,
abline(v=c(1,2,3,4), h=c(10,20))
Hi folks
Run;
ToothGrowth
attach(ToothGrowth)
toothgrowth=lm(len
3 matches
Mail list logo