[R] abline of an lm fit not correct

stephen sefick ssefick at gmail.com
Fri Aug 29 01:54:24 CEST 2008


mac osx 10.5.4
R 2.7.1

I have fit a model
d<-lm(y~x)

with an R^2 of 0.963
but when I issue the command
abline(d)
the line is below where it ought to be.  Looks like the right slope,
but not the right intercept.
thanks

-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis



More information about the R-help mailing list