On 6/2/05, Mathias Hunskår Furevik <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> when I run
> 
> > plot.default(z1, z2, xlab = "x", ylab = "y", main = "xxxx", pch = "+")
> > abline(lm(z1 ~ z2))

I think you have the independent and dependent variables switched:

abline(lm(z2 ~ z1))

Sarah
-- 
Sarah Goslee
http://www.stringpage.com

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to